mirror of
https://github.com/aasm/aasm
synced 2023-03-27 23:22:41 -04:00
Merge pull request #194 from andywenk/master
Fix example Instance-level inspection
This commit is contained in:
commit
e1c4c5a67f
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ to
|
||||||
```ruby
|
```ruby
|
||||||
job = Job.new
|
job = Job.new
|
||||||
|
|
||||||
job.aasm.events(:permitted => true)
|
job.aasm.events(:permitted => true).map(&:name)
|
||||||
# => [:run]
|
# => [:run]
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue