summary refs log tree commit diff
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2012-02-26 17:48:57 +0100
committerChristian Neukirchen <chneukirchen@gmail.com>2012-02-26 17:48:57 +0100
commit876a8b7e84579ad8cc79bc2aa95a8013c2c72c50 (patch)
treee00997e3bc7920fb62387cfb56d199f8195a275b
parentea50eeab9990ef5dc4e106cd5b4fe426fd287f7c (diff)
downloadbacon-876a8b7e84579ad8cc79bc2aa95a8013c2c72c50.tar.gz
bacon-876a8b7e84579ad8cc79bc2aa95a8013c2c72c50.tar.xz
bacon-876a8b7e84579ad8cc79bc2aa95a8013c2c72c50.zip
Fix Context#change?
-rw-r--r--lib/bacon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index 697719d..45d4bf8 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -227,7 +227,7 @@ module Bacon
 
     def raise?(*args, &block); block.raise?(*args); end
     def throw?(*args, &block); block.throw?(*args); end
-    def change?(*args, &block); block.change?(*args); end
+    def change?(&block); lambda{}.change?(&block); end
   end
 end