Method: QuickenParser::Parser#accounts
- Defined in:
- lib/quicken_parser/parser.rb
#accounts ⇒ Object
20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/quicken_parser/parser.rb', line 20 def accounts return @account if @account @accounts = Array.new REXML::XPath.each(@doc.root, "//STMTRS") do |xml| @accounts << account_from_xml(xml) end REXML::XPath.each(@doc.root, "//CCSTMTRS") do |xml| @accounts << cc_account_from_xml(xml) end @accounts end |