Sha256: 3494a36028a79dad55977194223a578ca465252ea7b5fed8302c764bbd032027

Contents?: true

Size: 456 Bytes

Versions: 6

Compression:

Stored size: 456 Bytes

Contents

require 'ndr_import/table'

module NdrImport
  module Vcf
    # Syntatic sugar to ensure `header_lines` and `footer_lines` are 1 and 0 respectively.
    # All other Table logic is inherited from `NdrImport::Table`
    class Table < ::NdrImport::Table
      def self.all_valid_options
        super - %w[delimiter header_lines footer_lines]
      end

      def header_lines
        1
      end

      def footer_lines
        0
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ndr_import-11.2.1 lib/ndr_import/vcf/table.rb
ndr_import-11.2.0 lib/ndr_import/vcf/table.rb
ndr_import-11.1.0 lib/ndr_import/vcf/table.rb
ndr_import-11.0.2 lib/ndr_import/vcf/table.rb
ndr_import-11.0.1 lib/ndr_import/vcf/table.rb
ndr_import-11.0.0 lib/ndr_import/vcf/table.rb