Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added the builder for creating the XML
- Loading branch information
1 parent
00985cb
commit a309e0f
Showing
5 changed files
with
16 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem 'rspec' | ||
gem 'rspec' | ||
gem 'builder' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,13 @@ | ||
require 'builder' | ||
|
||
module GedcomProcessor | ||
class IndividualParser < Parser | ||
def parse(input, out) | ||
builder = Builder::XmlMarkup.new | ||
|
||
while line = input.gets | ||
|
||
end | ||
end | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
require 'rspec' | ||
require 'rspec/autorun' | ||
require 'gedcom_processor' | ||
require 'gedcom_processor' |