lib/representable/binding.rb in representable-1.1.7 vs lib/representable/binding.rb in representable-1.2.0
- old
+ new
@@ -1,8 +1,8 @@
module Representable
class Binding
- attr_reader :definition
-
+ attr_reader :definition # TODO: merge Binding and Definition.
+
def initialize(definition)
@definition = definition
end
# Main entry point for rendering/parsing a property object.