Exception: Hyperloop::Operation::Exit

Inherits:
StandardError
  • Object
show all
Defined in:
lib/hyper-operation/railway/run.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#resultObject (readonly)

Returns the value of attribute result


6
7
8
# File 'lib/hyper-operation/railway/run.rb', line 6

def result
  @result
end

#stateObject (readonly)

Returns the value of attribute state


5
6
7
# File 'lib/hyper-operation/railway/run.rb', line 5

def state
  @state
end