lib/csv2hash/yaml_loader.rb in csv2hash-0.7.0 vs lib/csv2hash/yaml_loader.rb in csv2hash-0.7.1

- old
+ new

@@ -24,10 +24,9 @@ self.definition = Main.generate_definition self.conf.fetch(:name) do set_type { mapping } set_header_size { header_size } set_structure_rules { structure_rules } end - self.conf.fetch(:rules).each do |rule| definition.cells << Cell.new(rule) end Main[self.conf.fetch(:name)] = self.definition