public Method

MemCache.active?

Returns whether there is at least one active server for the object.

Source Code

# File active_support/vendor/memcache-client-1.5.0/memcache.rb, line 167
def active?
  not @servers.empty?
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.