lib/csv2hash/definition.rb in csv2hash-0.2.1 vs lib/csv2hash/definition.rb in csv2hash-0.3.0

- old
+ new

@@ -1,9 +1,9 @@ -class Csv2hash +module Csv2hash class Definition - MAPPING = 'mapping' - COLLECTION = 'collection' + MAPPING = 'mapping'.freeze + COLLECTION = 'collection'.freeze TYPES = [MAPPING, COLLECTION] attr_accessor :rules, :type, :header_size, :structure_rules