summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Rakefile2
-rw-r--r--lib/bacon.rb2
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