summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2011-12-28 03:17:12 -0800
committerChristian Neukirchen <chneukirchen@gmail.com>2011-12-28 03:17:12 -0800
commite7714404837a3e0ef9802817304c91d28a6c8447 (patch)
treecbe658c86ecd29ce94db79ea55204ebc172a5ac8 /lib
parentb90543f46b94af5d5c24720d8dce59e839c7409e (diff)
parentb84f0ba39978cfa50cc459e43a3f02f57e0fdc54 (diff)
downloadbacon-e7714404837a3e0ef9802817304c91d28a6c8447.tar.gz
bacon-e7714404837a3e0ef9802817304c91d28a6c8447.tar.xz
bacon-e7714404837a3e0ef9802817304c91d28a6c8447.zip
Merge pull request #6 from manveru/master
Two minor fixes
Diffstat (limited to 'lib')
-rw-r--r--lib/bacon.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bacon.rb b/lib/bacon.rb
index c3c4f4f..697719d 100644
--- a/lib/bacon.rb
+++ b/lib/bacon.rb
@@ -264,7 +264,7 @@ class Proc
 
   def change?
     pre_result = yield
-    called = call
+    call
     post_result = yield
     pre_result != post_result
   end