1
0
Fork 0
mirror of https://github.com/aasm/aasm synced 2023-03-27 23:22:41 -04:00

Fixed syntax

This commit is contained in:
Joel Van Horn 2014-11-16 20:01:28 -05:00
parent ef70ac53d9
commit 66021e6418

View file

@ -4,7 +4,7 @@
### Callback order has been changed ### Callback order has been changed
The first callback to be run is `:before` of the event. A state's `:before_exit' callback The first callback to be run is `:before` of the event. A state's `:before_exit` callback
is now run directly before its `:exit` callback. Event-based guards are now run before is now run directly before its `:exit` callback. Event-based guards are now run before
any of the transition guards are run. And finally, before running any state callbacks, any of the transition guards are run. And finally, before running any state callbacks,
all (event- and transition-based) guards are run to check whether the state callbacks all (event- and transition-based) guards are run to check whether the state callbacks