Class: Etsm::State
- Inherits:
-
Object
- Object
- Etsm::State
- Defined in:
- lib/etsm.rb
Instance Attribute Summary collapse
-
#enter ⇒ Object
readonly
Returns the value of attribute enter.
-
#exit ⇒ Object
readonly
Returns the value of attribute exit.
Instance Method Summary collapse
-
#initialize(enter, exit) ⇒ State
constructor
A new instance of State.
Constructor Details
#initialize(enter, exit) ⇒ State
Returns a new instance of State.
31 32 33 34 |
# File 'lib/etsm.rb', line 31 def initialize(enter, exit) @enter = enter @exit = exit end |
Instance Attribute Details
#enter ⇒ Object (readonly)
Returns the value of attribute enter.
28 29 30 |
# File 'lib/etsm.rb', line 28 def enter @enter end |
#exit ⇒ Object (readonly)
Returns the value of attribute exit.
29 30 31 |
# File 'lib/etsm.rb', line 29 def exit @exit end |