Class: Dynamoid::TypeCasting::SetTypeCaster
- Defined in:
- lib/dynamoid/type_casting.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from Dynamoid::TypeCasting::Base
Instance Method Details
#process(value) ⇒ Object
109 110 111 112 113 114 115 116 117 |
# File 'lib/dynamoid/type_casting.rb', line 109 def process(value) set = type_cast_to_set(value) if set.present? && @options[:of].present? process_typed_set(set) else set end end |