Class: Planner::State

Inherits:
Hash
  • Object
show all
Defined in:
lib/sfpagent/sfplanner.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(id) ⇒ State

Returns a new instance of State.



81
82
83
# File 'lib/sfpagent/sfplanner.rb', line 81

def initialize(id)
  @id = id
end

Instance Attribute Details

#idObject (readonly)

Returns the value of attribute id.



79
80
81
# File 'lib/sfpagent/sfplanner.rb', line 79

def id
  @id
end