add initial Ledger and capability to open a gnucash file

This commit is contained in:
josh committed 2013-07-24 19:45:18 -04:00
1 parent 9d04d1f81a
commit abdbfcd222
2 files changed
+14 -1

No files matched your search

+10
View File
@@ -0,0 +1,10 @@
require "zlib"
require "nokogiri"
module Gnucash
class Ledger
def initialize(fname)
@ng = Nokogiri.XML(Zlib::GzipReader.open(fname).read)
end
end
end