Class: Dynamoid::Undumping::SetUndumper
- Defined in:
- lib/dynamoid/undumping.rb
Constant Summary collapse
- ALLOWED_TYPES =
[:string, :integer, :number, :date, :datetime, :serialized]
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dynamoid::Undumping::Base
Instance Method Details
#process(set) ⇒ Object
73 74 75 76 77 78 79 |
# File 'lib/dynamoid/undumping.rb', line 73 def process(set) if @options.key?(:of) process_typed_collection(set) else set.is_a?(Set) ? set : Set.new(set) end end |