Class: Representable::Deserializer::Hash
- Inherits:
-
Collection
- Object
- Representable::Deserializer
- Collection
- Representable::Deserializer::Hash
- Defined in:
- lib/representable/deserializer.rb
Instance Method Summary collapse
Methods inherited from Representable::Deserializer
Constructor Details
This class inherits a constructor from Representable::Deserializer
Instance Method Details
#call(hash) ⇒ Object
99 100 101 102 103 |
# File 'lib/representable/deserializer.rb', line 99 def call(hash) {}.tap do |hsh| hash.each { |key, fragment| hsh[key] = deserialize!(fragment) } end end |