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

fixed error in readme

This commit is contained in:
Thorsten Böttger 2012-10-27 00:12:00 +13:00
parent e8671ae448
commit 2c96cbc2ec

View file

@ -141,12 +141,11 @@ class Job
end
event :sleep do
transitions :from => :running, :to => :sleeping, :guard => :too_dirty?
transitions :from => :running, :to => :sleeping, :guard => :cleaning_needed?
end
end
def too_dirty?
... yes, too dirty
def cleaning_needed?
false
end