Sha256: ed14c1f39c08d65c77e4cd4256aea58c8ed45e69ee3e784f05070c118e62ab09
Contents?: true
Size: 613 Bytes
Versions: 9
Compression:
Stored size: 613 Bytes
Contents
module ESA module Accounts # The Asset class is an account type used to represents resources owned by the business entity. # # === Normal Balance # The normal balance on Asset accounts is a *Debit*. # # @see http://en.wikipedia.org/wiki/Asset Assets # # @author Lenno Nagel class Asset < ESA::Account # The normal balance for the account. Must be overridden in implementations. def update_normal_balance unless self.contra self.normal_balance = :debit else self.normal_balance = :credit end end end end end
Version data entries
9 entries across 9 versions & 1 rubygems