Sha256: 1d9121b7f2cf76ce4944c190f3ca618d922cd04bb8ed9d6c9e826ee38fd11e5a
Contents?: true
Size: 609 Bytes
Versions: 3
Compression:
Stored size: 609 Bytes
Contents
require 'pry' require_relative "csv-import-analyzer/csv_sanitizer" require_relative "csv-import-analyzer/helpers/errors" module CsvImportAnalyzer # To identify the methods in the module as class methods extend self def process(filename, options = {}) if File::exist?(filename) CsvImportAnalyzer::CsvSanitizer.new().process(File.absolute_path(filename), options) else FileNotFound.new end end end CsvImportAnalyzer.process("sampleTab.csv", {:metadata_output => true, :unique => 2}) # CsvImportAnalyzer.process("sampleTab.csv", {:metadata_output => true, :out_format => :csv})
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
csv-import-analyzer-0.0.3 | lib/csv-import-analyzer.rb |
csv-import-analyzer-0.0.2 | lib/csv-import-analyzer.rb |
csv-import-analyzer-0.0.1 | lib/csv-import-analyzer.rb |