examples/example1.rb in end_state-0.10.1 vs examples/example1.rb in end_state-0.11.0
- old
+ new
@@ -23,20 +23,20 @@
end
end
class Machine < EndState::StateMachine
transition a: :b do |t|
- t.guard Easy, important_param: 'FOO!'
+ t.guard Easy
t.persistence_on
end
transition b: :c do |t|
t.custom_action CustomAction
t.persistence_on
end
transition [:b, :c] => :a do |t|
- t.concluder NoOp, not_very_important_param: 'Ignore me'
+ t.concluder NoOp
t.persistence_on
end
end
class StatefulObject