From b84f0ba39978cfa50cc459e43a3f02f57e0fdc54 Mon Sep 17 00:00:00 2001 From: Michael Fellinger Date: Wed, 28 Dec 2011 03:54:58 +0100 Subject: Avoid warning about unused variable --- lib/bacon.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit 1.4.1