lib/representable/binding.rb in representable-1.2.5 vs lib/representable/binding.rb in representable-1.2.6
- old
+ new
@@ -9,20 +9,16 @@
def initialize(definition)
@definition = definition
end
# Main entry point for rendering/parsing a property object.
- module Hooks
- def serialize(value)
- value
- end
-
- def deserialize(fragment)
- fragment
- end
+ def serialize(value)
+ value
end
- include Hooks
+ def deserialize(fragment)
+ fragment
+ end
# Hooks into #serialize and #deserialize to extend typed properties
# at runtime.
module Extend