public Method

MemCache.inspect

Returns a string representation of the cache object.

Source Code

# File active_support/vendor/memcache-client-1.5.0/memcache.rb, line 159
def inspect
  "<MemCache: %d servers, %d buckets, ns: %p, ro: %p>" %
    [@servers.length, @buckets.length, @namespace, @readonly]
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.