Method: Finance::Cashflow::Function#initialize

Defined in:
lib/finance/cashflows.rb

#initialize(transactions, function) ⇒ Function

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Function.



29
30
31
32
# File 'lib/finance/cashflows.rb', line 29

def initialize(transactions, function)
  @transactions = transactions
  @function = function
end