Class: Spawn::SpawnId
- Inherits:
-
Object
- Object
- Spawn::SpawnId
- Defined in:
- lib/spawn.rb
Instance Attribute Summary (collapse)
-
- (Object) handle
Returns the value of attribute handle.
-
- (Object) type
Returns the value of attribute type.
Instance Method Summary (collapse)
-
- (SpawnId) initialize(t, h)
constructor
A new instance of SpawnId.
Constructor Details
- (SpawnId) initialize(t, h)
A new instance of SpawnId
154 155 156 157 |
# File 'lib/spawn.rb', line 154 def initialize(t, h) self.type = t self.handle = h end |
Instance Attribute Details
- (Object) handle
Returns the value of attribute handle
153 154 155 |
# File 'lib/spawn.rb', line 153 def handle @handle end |
- (Object) type
Returns the value of attribute type
152 153 154 |
# File 'lib/spawn.rb', line 152 def type @type end |