lib/http/cookie_jar/abstract_store.rb in http-cookie-1.0.5 vs lib/http/cookie_jar/abstract_store.rb in http-cookie-1.0.6
- old
+ new
@@ -16,10 +16,10 @@
rescue IndexError
begin
require 'http/cookie_jar/%s_store' % symbol
@@class_map.fetch(symbol)
rescue LoadError, IndexError => e
- raise IndexError, 'cookie store unavailable: %s, error: %s' % symbol.inspect, e.message
+ raise IndexError, 'cookie store unavailable: %s, error: %s' % [symbol.inspect, e.message]
end
end
def inherited(subclass) # :nodoc:
@@class_map[class_to_symbol(subclass)] = subclass