Sha256: 4f74f2195e686c6ae8a17e25c0dc1c306c169a7ada2e7f06d1723d5de855957c
Contents?: true
Size: 407 Bytes
Versions: 21
Compression:
Stored size: 407 Bytes
Contents
module Remi module FieldSymbolizers def self.[](symbolizer) symbolizers[symbolizer] end def self.symbolizers @symbolizers ||= { standard: CSV::HeaderConverters[:symbol], salesforce: lambda { |f| f.encode(CSV::ConverterEncoding).strip.gsub(/\s+/, "_"). gsub(/\W+/, "").to_sym } } end end end
Version data entries
21 entries across 21 versions & 1 rubygems