Class: State

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeState

Returns a new instance of State.



4
5
6
# File 'lib/state.rb', line 4

def initialize
  @variables = {}
end

Instance Attribute Details

#contextObject

Returns the value of attribute context.



2
3
4
# File 'lib/state.rb', line 2

def context
  @context
end

#environmentObject

Returns the value of attribute environment.



2
3
4
# File 'lib/state.rb', line 2

def environment
  @environment
end

#variablesObject

Returns the value of attribute variables.



2
3
4
# File 'lib/state.rb', line 2

def variables
  @variables
end