Method: MemCache#active?
- Defined in:
- lib/gems/activesupport-2.2.2/lib/active_support/vendor/memcache-client-1.5.1/memcache.rb
#active? ⇒ Boolean
Returns whether there is at least one active server for the object.
167 168 169 |
# File 'lib/gems/activesupport-2.2.2/lib/active_support/vendor/memcache-client-1.5.1/memcache.rb', line 167 def active? not @servers.empty? end |