Module: Rcache

Defined in:
lib/rcache.rb,
lib/rcache/version.rb

Constant Summary collapse

VERSION =
"0.0.6"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.expires_inObject

Returns the value of attribute expires_in.



16
17
18
# File 'lib/rcache.rb', line 16

def expires_in
  @expires_in
end

.key_prefixObject

Returns the value of attribute key_prefix.



16
17
18
# File 'lib/rcache.rb', line 16

def key_prefix
  @key_prefix
end

.log_cached_queriesObject

Returns the value of attribute log_cached_queries.



16
17
18
# File 'lib/rcache.rb', line 16

def log_cached_queries
  @log_cached_queries
end

.redisObject

Returns the value of attribute redis.



16
17
18
# File 'lib/rcache.rb', line 16

def redis
  @redis
end

Class Method Details

.configure {|_self| ... } ⇒ Object

Yields:

  • (_self)

Yield Parameters:

  • _self (Rcache)

    the object that the method was called on



18
19
20
# File 'lib/rcache.rb', line 18

def configure
  yield self
end