Class: Planner::State
- Inherits:
-
Hash
- Object
- Hash
- Planner::State
- Defined in:
- lib/sfpagent/sfplanner.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
readonly
Returns the value of attribute id.
Instance Method Summary collapse
-
#initialize(id) ⇒ State
constructor
A new instance of State.
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
#id ⇒ Object (readonly)
Returns the value of attribute id.
79 80 81 |
# File 'lib/sfpagent/sfplanner.rb', line 79 def id @id end |