Use _ to indicate that block argument is unused

This commit is contained in:
Erik Michaels-Ober 2014-05-02 12:54:41 +02:00
parent 65a3bdcde8
commit e40b445be1

View file

@ -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