lib/memcacheauth.rb in memcache-auth-0.2.3 vs lib/memcacheauth.rb in memcache-auth-0.2.4

- old
+ new

@@ -8,10 +8,10 @@ super(servers, opts) end end class MemcacheAuth::Rails < Memcached::Rails - def initialize(opts = {}) + def initialize(*args) opts = args.last.is_a?(Hash) ? args.pop : {} servers = Array( args.any? ? args.unshift : opts.delete(:servers) ).flatten.compact