Module: Pod4::TypeCasting::InstanceMethods
- Defined in:
- lib/pod4/typecasting.rb
Instance Method Summary collapse
Instance Method Details
#map_to_model(ot) ⇒ Object
55 56 57 58 59 60 61 62 63 |
# File 'lib/pod4/typecasting.rb', line 55 def map_to_model(ot) enc = self.class.encoding ot.each do |_,v| v.force_encoding(enc) if v.kind_of?(String) && enc end super(ot) end |