Class: UzuUzu::Memcache::Dalli
- Defined in:
- lib/uzuuzu-core/memcache/dalli.rb
Instance Attribute Summary collapse
-
#adapter ⇒ Object
readonly
Returns the value of attribute adapter.
Instance Method Summary collapse
-
#initialize(env = nil) ⇒ Dalli
constructor
A new instance of Dalli.
- #method_missing(action, *args) ⇒ Object
Constructor Details
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(action, *args) ⇒ Object
26 27 28 |
# File 'lib/uzuuzu-core/memcache/dalli.rb', line 26 def method_missing(action, *args) @memcahce.send(action, args) end |
Instance Attribute Details
#adapter ⇒ Object (readonly)
Returns the value of attribute adapter.
11 12 13 |
# File 'lib/uzuuzu-core/memcache/dalli.rb', line 11 def adapter @adapter end |