Class Minpaso::PCInfo::CPU
In: lib/minpaso.rb
Parent: Object

Methods

new  

Attributes

processor_name  [R] 
score  [R] 

Public Class methods

[Source]

     # File lib/minpaso.rb, line 155
155:       def initialize(elt)
156:         elt.elements.each do |e|
157:           case e.name
158:           when "Score"; @score = e.text.to_f
159:           when "ProcessorName"; @processor_name = e.text
160:           end
161:         end
162:       end

[Validate]