Class: Dynamoid::Dumping::StringDumper
- Defined in:
- lib/dynamoid/dumping.rb
Overview
string -> string
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dynamoid::Dumping::Base
Instance Method Details
#process(string) ⇒ Object
90 91 92 93 94 95 |
# File 'lib/dynamoid/dumping.rb', line 90 def process(string) return nil if string.nil? return nil if string.empty? && Config.store_empty_string_as_nil string end |