lib/representable/object.rb in representable-2.1.6 vs lib/representable/object.rb in representable-2.1.7

- old
+ new

@@ -19,7 +19,11 @@ end def from_object(data, options={}, binding_builder=Binding) update_properties_from(data, options, binding_builder) end + + def to_object(options={}, binding_builder=Binding) + create_representation_with(nil, options, binding_builder) + end end end \ No newline at end of file