Sha256: fd7708d97ac245ca00872edf0ee923c68dfa336f81d0227cb9474ce336acca7c
Contents?: true
Size: 302 Bytes
Versions: 11
Compression:
Stored size: 302 Bytes
Contents
require 'active_support/core_ext/array/extract_options' require_relative 'coercers/yaml_coercer' module Csv2hash class Cell attr_accessor :rules def initialize *args self.rules = args.extract_options! Csv2hash::Coercers::YamlCoercer.new(rules).deserialize! end end end
Version data entries
11 entries across 11 versions & 1 rubygems