protected Method

MemCache.make_cache_key(key)

Create a key for the cache, incorporating the namespace qualifier if requested.

Source Code

# File active_support/vendor/memcache-client-1.5.0/memcache.rb, line 529
def make_cache_key(key)
  if namespace.nil? then
    key
  else
    "#{@namespace}:#{key}"
  end
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.