lib/qif/reader.rb
# Call a block with each Qif::Transaction from the Qif file. This
# method yields each transaction as it reads the file so it is better
# to use this than #transactions for large qif files.
#
#   reader.each do |transaction|
#     puts transaction.amount
#   end
Call a block with each Qif::Transaction from the Qif file. This
method yields each transaction as it reads the file so it is better
to use this than #transactions for large qif files.


Call a block with each Qif :: Transaction from the Qif file . This method yields each transaction as it reads the file so it is better to use this than #transactions for large qif files .
def each(&block)    
      reset
      while transaction = next_transaction
        yield transaction
      end
    end
def each ( & block ) reset while transaction = next_transaction yield transaction end end
Call a block with each Qif::Transaction from the Qif file.
Call a block with each Qif :: Transaction from the Qif file .
block
<not_specific>