module Representable::Debug
Public Instance Methods
create_representation_with(doc, options, format)
click to toggle source
Calls superclass method
# File lib/representable/debug.rb, line 10 def create_representation_with(doc, options, format) puts puts "[Serialize]........." puts "[Serialize]" super end
representable_map(*)
click to toggle source
Calls superclass method
# File lib/representable/debug.rb, line 17 def representable_map(*) super.tap do |arr| arr.collect { |bin| bin.extend(Binding) } end end
update_properties_from(doc, options, format)
click to toggle source
Calls superclass method
# File lib/representable/debug.rb, line 3 def update_properties_from(doc, options, format) puts puts "[Deserialize]........." puts "[Deserialize] document #{doc.inspect}" super end