state_machines
state_machines copied to clipboard
Adds support for creating state machines for attributes on any Ruby class
Results
12
state_machines issues
Sort by
recently updated
recently updated
newest added
Add passing kwargs from event to guard ```ruby class Vehicle state_machine :state, initial: :parked do ... event :crash do transition all - [:parked, :stalled] => :stalled, if: ->(vehicle, kwargs) {kwargs[:arg]...
The MiniTest name space has been deprecated since minitest 5.19 and causes errors with ruby3.3