Exception: Hyperloop::Operation::Exit
- Inherits:
-
StandardError
- Object
- StandardError
- Hyperloop::Operation::Exit
- Defined in:
- lib/hyper-operation/railway/run.rb
Instance Attribute Summary collapse
-
#result ⇒ Object
readonly
Returns the value of attribute result.
-
#state ⇒ Object
readonly
Returns the value of attribute state.
Instance Method Summary collapse
-
#initialize(state, result) ⇒ Exit
constructor
A new instance of Exit.
Constructor Details
#initialize(state, result) ⇒ Exit
Returns a new instance of Exit.
7 8 9 10 |
# File 'lib/hyper-operation/railway/run.rb', line 7 def initialize(state, result) @state = state @result = result end |
Instance Attribute Details
#result ⇒ Object (readonly)
Returns the value of attribute result.
6 7 8 |
# File 'lib/hyper-operation/railway/run.rb', line 6 def result @result end |
#state ⇒ Object (readonly)
Returns the value of attribute state.
5 6 7 |
# File 'lib/hyper-operation/railway/run.rb', line 5 def state @state end |