Class: VCF::Preamble
- Inherits:
-
Object
- Object
- VCF::Preamble
- Defined in:
- lib/vcf.rb
Instance Method Summary collapse
-
#initialize(lines) ⇒ Preamble
constructor
A new instance of Preamble.
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 |