Sha256: 580d0c3a6766390188dd95e5b21a0ecb8b9304950d6723c9104197acd64d9fd7
Contents?: true
Size: 554 Bytes
Versions: 3
Compression:
Stored size: 554 Bytes
Contents
module Csv2hash class Configuration attr_accessor :true_values attr_accessor :false_values attr_accessor :nil_values # attr_accessor :extra_values attr_accessor :convert attr_accessor :ignore_case attr_accessor :exact_matching def initialize self.convert = false self.true_values = ['yes','y','t'] self.false_values = ['no','n','f'] self.nil_values = ['nil','null'] # self.extra_values = {} # { [] => } self.ignore_case = false self.exact_matching = false end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
csv2hash-0.7.7 | lib/csv2hash/configuration.rb |
csv2hash-0.7.6 | lib/csv2hash/configuration.rb |
csv2hash-0.7.5 | lib/csv2hash/configuration.rb |