Class: Dynamoid::Dumping::DateDumper

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

Overview

date -> integer/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



239
240
241
# File 'lib/dynamoid/dumping.rb', line 239

def process(value)
  value.nil? ? nil : format_date(value, @options)
end