Sha256: 3fac1bfb73f77f57700949f7cbf10531efd45f66149560c11986d5b5917b46bf

Contents?: true

Size: 254 Bytes

Versions: 3

Compression:

Stored size: 254 Bytes

Contents

module Itiel
  module Lookup
    class CSVFile
      include ChainedStep
      include HashLookup

      def initialize(file_name)
        @file_name = file_name
      end

      def lookup_source
        CSV.table @file_name
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
itiel-0.1.2 lib/itiel/lookup/csv_file.rb
itiel-0.1.1 lib/itiel/lookup/csv_file.rb
itiel-0.1.0 lib/itiel/lookup/csv_file.rb