lib/csv2hash/validator.rb in csv2hash-0.2.1 vs lib/csv2hash/validator.rb in csv2hash-0.3.0
- old
+ new
@@ -1,5 +1,5 @@
-class Csv2hash
+module Csv2hash
module Validator
def validate_rules y=nil
definition.rules.each do |rule|
_y, x = position rule.fetch(:position)