class Statesman::GuardFailedError
Attributes
from[R]
to[R]
Public Class Methods
new(from, to)
click to toggle source
Calls superclass method
# File lib/statesman/exceptions.rb, line 31 def initialize(from, to) @from = from @to = to super(_message) end
Private Instance Methods
_message()
click to toggle source
# File lib/statesman/exceptions.rb, line 41 def _message "Guard on transition from: '#{from}' to '#{to}' returned false" end