Method: Dalli::Protocol::ValueMarshaller#initialize
- Defined in:
- lib/dalli/protocol/value_marshaller.rb
#initialize(client_options) ⇒ ValueMarshaller
Returns a new instance of ValueMarshaller.
25 26 27 28 29 30 31 |
# File 'lib/dalli/protocol/value_marshaller.rb', line 25 def initialize() @value_serializer = ValueSerializer.new() @value_compressor = ValueCompressor.new() = DEFAULTS.merge(.select { |k, _| OPTIONS.include?(k) }) end |