Exception: StateFu::RequirementError
Instance Attribute Summary
#transition
Attributes inherited from Error
#binding, #options
Instance Method Summary
collapse
#initialize
Methods inherited from Error
#initialize
Instance Method Details
87
88
89
|
# File 'lib/support/exceptions.rb', line 87
def inspect
"<#{self.class.to_s}::#{__id__} :#{transition.origin.to_sym}-[#{transition.event.to_sym}]->:#{transition.target.to_sym} unmet_requirements=#{to_a.inspect}>"
end
|
75
76
77
|
# File 'lib/support/exceptions.rb', line 75
def to_a
unmet_requirement_messages
end
|
79
80
81
|
# File 'lib/support/exceptions.rb', line 79
def to_h
requirement_errors
end
|
83
84
85
|
# File 'lib/support/exceptions.rb', line 83
def to_s
inspect
end
|