lib/divining_rod/mappings.rb in divining_rod-0.4.0 vs lib/divining_rod/mappings.rb in divining_rod-0.5.0

- old
+ new

@@ -6,9 +6,10 @@ attr_accessor :root_definition def define(opts = {}) @root_definition = Definition.new { true } yield Mapper.new(@root_definition, opts) + @root_definition.freeze end def evaluate(obj) @root_definition.evaluate(obj) end