Account objects don't have a @path anymore but instead a @name and a @parent.
commit1b6f5de6817fca87c34ec944bcad82e78645278a
authorMatan Nassau <matan.nassau@gmail.com>
Mon, 7 Jan 2008 21:12:59 +0000 (7 16:12 -0500)
committerMatan Nassau <matan.nassau@gmail.com>
Mon, 7 Jan 2008 21:12:59 +0000 (7 16:12 -0500)
treebf1cd57b601f4315a4bcaa49ce519177b4dd333a
parent74469192b2de99bda817cff11cf993061861d9e4
Account objects don't have a @path anymore but instead a @name and a @parent.

Also removed options (which were one option only, actually) from Account#each_parent.  Namely, each_parent will only iterate over parents, and will not allow yielding the Account object on which each_parent was called.  For that, let the caller himeself just do the operation on that object...

The @name is a string as given when openning the account.  It's the terminal name of the account, i.e. Income.Salary has @name Salary.

The @parent is the Account object of the parent account.  Account.open() is used to get that object.
account.rb