public Method

MemCache.[]=(key, value)

Shortcut to save a value in the cache. This method does not set an expiration on the entry. Use set to specify an explicit expiry.

Source Code

# File active_support/vendor/memcache-client-1.5.0/memcache.rb, line 519
def []=(key, value)
  set key, value
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.