You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MyClass.state_machine.events[:stop].branches.flat_map(&:state_requirements).flat_map { |sr| sr[:from].description }.uniq
Something like this could help but there is a Problem mit StateMachines::BlacklistMatchers
Activity
rocket-turtle commentedon Dec 4, 2018
I don't know if that is possible.
MyClass.state_machine.events[:stop].branches.flat_map(&:state_requirements).flat_map { |sr| sr[:from].description }.uniqSomething like this could help but there is a Problem mit
StateMachines::BlacklistMatchersagbodike commentedon Jun 28, 2019
FYI: This gem is abandoned, it has been forked at: https://github.com/state-machines/state_machines