Exception: Fsm::TransitionError
- Inherits:
-
StandardError
- Object
- StandardError
- Fsm::TransitionError
- Defined in:
- lib/fsm/transition_error.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
Returns the value of attribute message.
-
#object ⇒ Object
Returns the value of attribute object.
Instance Method Summary collapse
-
#initialize(object) ⇒ TransitionError
constructor
A new instance of TransitionError.
Constructor Details
#initialize(object) ⇒ TransitionError
Returns a new instance of TransitionError.
6 7 8 |
# File 'lib/fsm/transition_error.rb', line 6 def initialize(object) @object = object end |
Instance Attribute Details
#message ⇒ Object
Returns the value of attribute message.
4 5 6 |
# File 'lib/fsm/transition_error.rb', line 4 def end |
#object ⇒ Object
Returns the value of attribute object.
4 5 6 |
# File 'lib/fsm/transition_error.rb', line 4 def object @object end |