Class: Hwloc::ObjInfo
Instance Attribute Summary
Attributes inherited from Struct
Instance Method Summary collapse
Methods inherited from Struct
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class Hwloc::Struct
Instance Method Details
#to_s ⇒ Object
193 194 195 |
# File 'lib/hwloc/Obj.rb', line 193 def to_s return "#{self[:name]}:#{self[:value]}" end |