Module: Rcache
- Defined in:
- lib/rcache.rb,
lib/rcache/version.rb
Constant Summary collapse
- VERSION =
"0.0.4"
Class Attribute Summary collapse
-
.expires_in ⇒ Object
Returns the value of attribute expires_in.
-
.key_prefix ⇒ Object
Returns the value of attribute key_prefix.
-
.log_cached_queries ⇒ Object
Returns the value of attribute log_cached_queries.
-
.redis ⇒ Object
Returns the value of attribute redis.
Class Method Summary collapse
Class Attribute Details
.expires_in ⇒ Object
Returns the value of attribute expires_in.
14 15 16 |
# File 'lib/rcache.rb', line 14 def expires_in @expires_in end |
.key_prefix ⇒ Object
Returns the value of attribute key_prefix.
14 15 16 |
# File 'lib/rcache.rb', line 14 def key_prefix @key_prefix end |
.log_cached_queries ⇒ Object
Returns the value of attribute log_cached_queries.
14 15 16 |
# File 'lib/rcache.rb', line 14 def log_cached_queries @log_cached_queries end |
.redis ⇒ Object
Returns the value of attribute redis.
14 15 16 |
# File 'lib/rcache.rb', line 14 def redis @redis end |
Class Method Details
.configure {|_self| ... } ⇒ Object
16 17 18 |
# File 'lib/rcache.rb', line 16 def configure yield self end |