Class: FiniteMachine::Env

Inherits:
Object
  • Object
show all
Includes:
Threadable
Defined in:
lib/finite_machine/env.rb

Overview

Holds references to targets and aliases

Instance Method Summary collapse

Constructor Details

#initialize(target, aliases = []) ⇒ Env

Returns a new instance of Env.



16
17
18
19
# File 'lib/finite_machine/env.rb', line 16

def initialize(target, aliases = [])
  @target = target
  @aliases = aliases
end