lib/representable.rb in representable-1.5.2 vs lib/representable.rb in representable-1.5.3
- old
+ new
@@ -43,10 +43,10 @@
# Reads values from +doc+ and sets properties accordingly.
def update_properties_from(doc, options, format)
representable_bindings_for(format, options).each do |bin|
deserialize_property(bin, doc, options)
end
- self
+ represented
end
private
# Compiles the document going through all properties.
def create_representation_with(doc, options, format)
\ No newline at end of file