Exception: Workflow::TransitionHalted
- Inherits:
-
Exception
- Object
- Exception
- Workflow::TransitionHalted
- Defined in:
- lib/workflow.rb
Instance Attribute Summary (collapse)
-
- (Object) halted_because
readonly
Returns the value of attribute halted_because.
Instance Method Summary (collapse)
-
- (TransitionHalted) initialize(msg = nil)
constructor
A new instance of TransitionHalted.
Constructor Details
- (TransitionHalted) initialize(msg = nil)
A new instance of TransitionHalted
66 67 68 69 |
# File 'lib/workflow.rb', line 66 def initialize(msg = nil) @halted_because = msg super msg end |
Instance Attribute Details
- (Object) halted_because (readonly)
Returns the value of attribute halted_because
64 65 66 |
# File 'lib/workflow.rb', line 64 def halted_because @halted_because end |