lib/active_merchant/country.rb in activemerchant-1.114.0 vs lib/active_merchant/country.rb in activemerchant-1.116.0
- old
+ new
@@ -37,10 +37,10 @@
class Country
attr_reader :name
def initialize(options = {})
@name = options.delete(:name)
- @codes = options.collect { |k, v| CountryCode.new(v) }
+ @codes = options.collect { |_k, v| CountryCode.new(v) }
end
def code(format)
@codes.detect { |c| c.format == format }
end