Class: NxtStateMachine::Errors::TransitionHalted

Inherits:
NxtStateMachine::Error
  • Object
show all
Defined in:
lib/nxt_state_machine/errors/transition_halted.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(*args, **opts) ⇒ TransitionHalted

Returns a new instance of TransitionHalted.



4
5
6
7
# File 'lib/nxt_state_machine/errors/transition_halted.rb', line 4

def initialize(*args, **opts)
  super(*args)
  @options = opts
end

Instance Attribute Details

#optionsObject (readonly)

Returns the value of attribute options.



9
10
11
# File 'lib/nxt_state_machine/errors/transition_halted.rb', line 9

def options
  @options
end