Class: Redpear::Store::Enumerable
- Includes:
- Enumerable
- Defined in:
- lib/redpear/store/enumerable.rb
Constant Summary
Constants inherited from Base
Base::IS_NIL, Base::IS_ONE, Base::IS_TRUE, Base::IS_ZERO, Base::PICK_FIRST, Base::TO_INT, Base::TO_SET
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#count ⇒ Integer
Alias for #length.
-
#size ⇒ Integer
Alias for #length.
Methods inherited from Base
#clear, #exists?, #expire, #expire_at, #expire_in, #initialize, #inspect, #purge!, temporary, #ttl, #type, #watch
Constructor Details
This class inherits a constructor from Redpear::Store::Base
Instance Method Details
#count ⇒ Integer
Alias for #length
16 17 18 |
# File 'lib/redpear/store/enumerable.rb', line 16 def count length end |
#size ⇒ Integer
Alias for #length
10 11 12 |
# File 'lib/redpear/store/enumerable.rb', line 10 def size length end |