Class: Hwloc::Union
- Inherits:
-
FFI::Union
- Object
- FFI::Union
- Hwloc::Union
- Defined in:
- lib/hwloc/Obj.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#topology ⇒ Object
readonly
Returns the value of attribute topology.
Instance Method Summary collapse
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(m, *args, &block) ⇒ Object
78 79 80 81 82 83 84 |
# File 'lib/hwloc/Obj.rb', line 78 def method_missing(m, *args, &block) begin return self[m] rescue super end end |
Instance Attribute Details
#topology ⇒ Object (readonly)
Returns the value of attribute topology.
92 93 94 |
# File 'lib/hwloc/Obj.rb', line 92 def topology @topology end |