Class: Dynamoid::Dumping::SerializedDumper

Inherits:
Base
  • Object
show all
Defined in:
lib/dynamoid/dumping.rb

Overview

object -> string

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from Dynamoid::Dumping::Base

Instance Method Details

#process(value) ⇒ Object


269
270
271
# File 'lib/dynamoid/dumping.rb', line 269

def process(value)
  @options[:serializer] ? @options[:serializer].dump(value) : value.to_yaml
end