Method: Dynamoid::TypeCasting::ArrayTypeCaster#process

Defined in:
lib/dynamoid/type_casting.rb

#process(value) ⇒ Object



161
162
163
164
165
166
167
168
169
# File 'lib/dynamoid/type_casting.rb', line 161

def process(value)
  array = type_cast_to_array(value)

  if array.present? && @options[:of].present?
    process_typed_array(array)
  else
    array
  end
end