Class: Dynamoid::TypeCasting::BinaryTypeCaster
- 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
290 291 292 293 294 295 296 |
# File 'lib/dynamoid/type_casting.rb', line 290 def process(value) if value.is_a? String value.dup else value.to_s end end |