lib/momm/memcached.rb in momm-0.0.3 vs lib/momm/memcached.rb in momm-0.0.4
- old
+ new
@@ -9,11 +9,11 @@
attr_reader :connection, :options
def initialize(options={})
_options = DEFAULT_OPTIONS.dup.merge options
- @connection = options.delete(:connection)
- @options = options
+ @connection = _options.delete(:connection)
+ @options = _options
end
def client
@client ||= Dalli::Client.new connection, options
end
\ No newline at end of file