Class: NdrImport::Vcf::Table

Inherits:
Table
  • Object
show all
Defined in:
lib/ndr_import/vcf/table.rb

Overview

Syntatic sugar to ensure ‘header_lines` and `footer_lines` are 1 and 0 respectively. All other Table logic is inherited from `NdrImport::Table`

Instance Attribute Summary

Attributes inherited from Table

#notifier

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Table

#all_valid_options, #encode_with, #header_valid?, #initialize, #match, #process_line, #transform, #transform_line

Constructor Details

This class inherits a constructor from NdrImport::Table

Class Method Details

.all_valid_optionsObject



8
9
10
# File 'lib/ndr_import/vcf/table.rb', line 8

def self.all_valid_options
  super - %w[delimiter header_lines footer_lines xml_record_xpath]
end

Instance Method Details



16
17
18
# File 'lib/ndr_import/vcf/table.rb', line 16

def footer_lines
  0
end

#header_linesObject



12
13
14
# File 'lib/ndr_import/vcf/table.rb', line 12

def header_lines
  1
end