From e40b445be1f6c584cc4ec3868a6552f48d1785e4 Mon Sep 17 00:00:00 2001 From: Erik Michaels-Ober Date: Fri, 2 May 2014 12:54:41 +0200 Subject: [PATCH] Use _ to indicate that block argument is unused --- lib/simple_oauth/header.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/simple_oauth/header.rb b/lib/simple_oauth/header.rb index cb056e8..efa8825 100644 --- a/lib/simple_oauth/header.rb +++ b/lib/simple_oauth/header.rb @@ -77,7 +77,7 @@ module SimpleOAuth private def normalized_attributes - signed_attributes.sort_by { |k, v| k.to_s }.collect { |k, v| %(#{k}="#{self.class.escape(v)}") }.join(', ') + signed_attributes.sort_by { |k, _| k.to_s }.collect { |k, v| %(#{k}="#{self.class.escape(v)}") }.join(', ') end def attributes