Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9dc19a3a59
Fetching contributors…

Cannot retrieve contributors at this time

17 lines (14 sloc) 0.405 kb
class Memcached
# A legacy compatibility wrapper for the Memcached class. It has basic compatibility with the <b>memcache-client</b> API.
class Rails < ::Memcached
def initialize(config)
super(config.delete(:servers), config.slice(DEFAULTS.keys))
end
def servers=(servers)
end
def delete(key, expiry = 0)
super(key)
rescue NotFound
end
end
end
Jump to Line
Something went wrong with that request. Please try again.