lib/schematic/generator/sandbox.rb in schematic-0.4.1 vs lib/schematic/generator/sandbox.rb in schematic-0.4.2

- old
+ new

@@ -33,10 +33,10 @@ def ignore(*fields) fields.each { |field| ignored_elements << field } end - def element(*args) + def add(*args) name = args.shift if name.is_a? Hash added_elements[name.keys.first] = name.values.first else added_elements[name] = nil