Sha256: eeca3807a5f7f79c89b988ea28f634c122195be6cc1b81bf0b5dbae799181bc1

Contents?: true

Size: 473 Bytes

Versions: 1

Compression:

Stored size: 473 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 xml_record_xpath]
      end

      def header_lines
        1
      end

      def footer_lines
        0
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ndr_import-10.3.0 lib/ndr_import/vcf/table.rb