Class: VCF::Preamble

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

Instance Method Summary collapse

Constructor Details

#initialize(lines) ⇒ Preamble

Returns a new instance of Preamble.



13
14
15
16
17
18
# File 'lib/vcf.rb', line 13

def initialize lines
  @items = {}
  lines.each do |line|
    add_key line.chomp
  end
end