From 2c96cbc2ec2d48a0fd12154caef4fa72f8b913fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thorsten=20B=C3=B6ttger?= Date: Sat, 27 Oct 2012 00:12:00 +1300 Subject: [PATCH] fixed error in readme --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7de89c2..d4cd74d 100644 --- a/README.md +++ b/README.md @@ -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