Class: FiniteMachine::Env
- Inherits:
-
Object
- Object
- FiniteMachine::Env
- Includes:
- Threadable
- Defined in:
- lib/finite_machine/env.rb
Overview
Holds references to targets and aliases
Instance Method Summary collapse
-
#initialize(target, aliases = []) ⇒ Env
constructor
A new instance of Env.
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 |