Class: Hwloc::ObjInfo

Inherits:
Struct
  • Object
show all
Defined in:
lib/hwloc/Obj.rb

Instance Attribute Summary

Attributes inherited from Struct

#topology

Instance Method Summary collapse

Methods inherited from Struct

#[], #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Hwloc::Struct

Instance Method Details

#to_sObject



193
194
195
# File 'lib/hwloc/Obj.rb', line 193

def to_s
  return "#{self[:name]}:#{self[:value]}"
end