lib/csv2hash/structure_validator.rb in csv2hash-0.5.0 vs lib/csv2hash/structure_validator.rb in csv2hash-0.6.0

- old
+ new

@@ -2,9 +2,10 @@ module Csv2hash::StructureValidator class ValidationError < StandardError ; end def validate_structure! + # binding.pry definition.structure_rules.each do |rule, options| begin rule_instance(rule, options).validate! data_source rescue => e self.errors << { y: nil, x: nil, message: e.message, key: nil }