diff options
-rw-r--r-- | Rakefile | 2 | ||||
-rw-r--r-- | lib/bacon.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile index 5aa2937..f6ad05d 100644 --- a/Rakefile +++ b/Rakefile @@ -1,5 +1,5 @@ # Rakefile for Bacon. -*-ruby-*- -require 'rake/rdoctask' +require 'rdoc/task' require 'rake/testtask' 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 |