mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
commit
b8addd3706
1 changed files with 1 additions and 1 deletions
|
@ -214,7 +214,7 @@ You can even provide a number of guards, which all have to succeed to proceed
|
|||
end
|
||||
```
|
||||
|
||||
If you want to provide guards for all transitions withing an event, you can use event guards
|
||||
If you want to provide guards for all transitions within an event, you can use event guards
|
||||
|
||||
```ruby
|
||||
event :sleep, :guards => [:walked_the_dog?] do
|
||||
|
|
Loading…
Reference in a new issue