Sha256: 5936117362530fd992631901389d3f94ec486558a0141f71c0b0354ce445186c

Contents?: true

Size: 221 Bytes

Versions: 3

Compression:

Stored size: 221 Bytes

Contents

module CsvImportAnalyzer
  module Helper
    def null_like?(value)
      if ["NULL", "Null", "NUll", "NULl", "null", nil, "", "NAN", "\\N"].include?(value)
        true
      else
        false
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
csv-import-analyzer-0.0.3 lib/csv-import-analyzer/helpers/common_functions.rb
csv-import-analyzer-0.0.2 lib/csv-import-analyzer/helpers/common_functions.rb
csv-import-analyzer-0.0.1 lib/csv-import-analyzer/helpers/common_functions.rb