Class: Spawn::SpawnId

Inherits:
Object
  • Object
show all
Defined in:
lib/spawn.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(t, h) ⇒ SpawnId

Returns a new instance of SpawnId.



129
130
131
132
# File 'lib/spawn.rb', line 129

def initialize(t, h)
  self.type = t
  self.handle = h
end

Instance Attribute Details

#handleObject

Returns the value of attribute handle.



128
129
130
# File 'lib/spawn.rb', line 128

def handle
  @handle
end

#typeObject

Returns the value of attribute type.



127
128
129
# File 'lib/spawn.rb', line 127

def type
  @type
end