Sha256: 1a1376df5af6f6dea136ffdd2ec60ac62ac659613c524b5bf9266b662bc31775
Contents?: true
Size: 739 Bytes
Versions: 2
Compression:
Stored size: 739 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_reader :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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
gnucash-1.2.0 | lib/gnucash/account_transaction.rb |
gnucash-1.1.0 | lib/gnucash/account_transaction.rb |