From 7e6652edbf87d26489d2b68cfa29abeb2ab588c7 Mon Sep 17 00:00:00 2001 From: Jeremy Kemper Date: Sun, 13 Sep 2009 05:56:21 -0700 Subject: Prefer not to shadow a local --- activesupport/lib/active_support/message_verifier.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activesupport/lib/active_support/message_verifier.rb') diff --git a/activesupport/lib/active_support/message_verifier.rb b/activesupport/lib/active_support/message_verifier.rb index a6723b8b33..0474b476df 100644 --- a/activesupport/lib/active_support/message_verifier.rb +++ b/activesupport/lib/active_support/message_verifier.rb @@ -45,7 +45,7 @@ module ActiveSupport l = a.unpack "C#{a.bytesize}" res = 0 - b.each_byte { |b| res |= b ^ l.shift } + b.each_byte { |byte| res |= byte ^ l.shift } res == 0 end -- cgit v1.2.3