diff options
author | Christian Neukirchen <chneukirchen@gmail.com> | 2011-12-28 03:17:12 -0800 |
---|---|---|
committer | Christian Neukirchen <chneukirchen@gmail.com> | 2011-12-28 03:17:12 -0800 |
commit | e7714404837a3e0ef9802817304c91d28a6c8447 (patch) | |
tree | cbe658c86ecd29ce94db79ea55204ebc172a5ac8 /lib | |
parent | b90543f46b94af5d5c24720d8dce59e839c7409e (diff) | |
parent | b84f0ba39978cfa50cc459e43a3f02f57e0fdc54 (diff) | |
download | bacon-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.rb | 2 |
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 |