Module: Representable::Debug::Populator

Defined in:
lib/representable/debug.rb

Instance Method Summary collapse

Instance Method Details

#deserialize(fragment) ⇒ Object


55
56
57
58
59
# File 'lib/representable/debug.rb', line 55

def deserialize(fragment)
  puts "                  Populator#deserialize: #{fragment.inspect}"
  puts "                                       : typed? is false, skipping Deserializer." if ! @binding.typed?
  super
end

#deserializerObject


61
62
63
# File 'lib/representable/debug.rb', line 61

def deserializer
  super.extend(Deserializer)
end