class Redis::PooledStore

Public Class Methods

new(options = { }) click to toggle source
Calls superclass method Redis::Pooled::new
# File lib/redis/pooled_store.rb, line 8
def initialize(options = { })
  super
  _extend_marshalling options
end

Public Instance Methods

to_s() click to toggle source
# File lib/redis/pooled_store.rb, line 17
def to_s
  with_connection do |c|
    "Redis::Pooled => #{c.host}:#{c.port} against DB #{c.db}"
  end
end

Private Instance Methods

_extend_marshalling(options) click to toggle source
# File lib/redis/pooled_store.rb, line 24
def _extend_marshalling(options) # Copied from Store
  @marshalling = !(options[:marshalling] === false)
  extend Store::Marshalling if @marshalling
end