Class: Spawn::SpawnId
- Inherits:
-
Object
- Object
- Spawn::SpawnId
- Defined in:
- lib/spawn.rb
Instance Attribute Summary collapse
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(t, h) ⇒ SpawnId
constructor
A new instance of SpawnId.
Constructor Details
#initialize(t, h) ⇒ SpawnId
Returns a new instance of SpawnId.
108 109 110 111 |
# File 'lib/spawn.rb', line 108 def initialize(t, h) self.type = t self.handle = h end |
Instance Attribute Details
#handle ⇒ Object
Returns the value of attribute handle.
107 108 109 |
# File 'lib/spawn.rb', line 107 def handle @handle end |
#type ⇒ Object
Returns the value of attribute type.
106 107 108 |
# File 'lib/spawn.rb', line 106 def type @type end |