Class: State
- Inherits:
-
Object
- Object
- State
- Defined in:
- lib/state.rb
Instance Attribute Summary collapse
-
#context ⇒ Object
Returns the value of attribute context.
-
#environment ⇒ Object
Returns the value of attribute environment.
-
#variables ⇒ Object
Returns the value of attribute variables.
Instance Method Summary collapse
-
#initialize ⇒ State
constructor
A new instance of State.
Constructor Details
#initialize ⇒ State
Returns a new instance of State.
4 5 6 |
# File 'lib/state.rb', line 4 def initialize @variables = {} end |
Instance Attribute Details
#context ⇒ Object
Returns the value of attribute context.
2 3 4 |
# File 'lib/state.rb', line 2 def context @context end |
#environment ⇒ Object
Returns the value of attribute environment.
2 3 4 |
# File 'lib/state.rb', line 2 def environment @environment end |
#variables ⇒ Object
Returns the value of attribute variables.
2 3 4 |
# File 'lib/state.rb', line 2 def variables @variables end |