Sha256: 5872ee92baac97ba6ca9f7f306beac2125f6a489ba39d8473ec6e60da635109e
Contents?: true
Size: 741 Bytes
Versions: 4
Compression:
Stored size: 741 Bytes
Contents
module Gnucash # Class to link a transaction object to an Account. class AccountTransaction # _Gnucash::Value_: The transaction value for the linked account attr_accessor :value # Construct an AccountTransaction object. # This method is used internally when building a Transaction object. # === Arguments # +real_txn+ _Gnucash::Transaction_:: The linked Transaction object # +value+ _Gnucash::Value_:: # The value of the Transaction split for this account def initialize(real_txn, value) @real_txn = real_txn @value = value end # Pass through any missing method calls to the linked Transaction object def method_missing(*args) @real_txn.send(*args) end end end
Version data entries
4 entries across 4 versions & 1 rubygems