Module: MudratProjector

Defined in:
lib/mudrat_projector.rb,
lib/mudrat_projector/account.rb,
lib/mudrat_projector/version.rb,
lib/mudrat_projector/schedule.rb,
lib/mudrat_projector/amortizer.rb,
lib/mudrat_projector/date_diff.rb,
lib/mudrat_projector/projector.rb,
lib/mudrat_projector/validator.rb,
lib/mudrat_projector/projection.rb,
lib/mudrat_projector/transaction.rb,
lib/mudrat_projector/tax_calculator.rb,
lib/mudrat_projector/banker_rounding.rb,
lib/mudrat_projector/tax_calculation.rb,
lib/mudrat_projector/chart_of_accounts.rb,
lib/mudrat_projector/transaction_entry.rb,
lib/mudrat_projector/transaction_handler.rb,
lib/mudrat_projector/scheduled_transaction.rb

Defined Under Namespace

Modules: BankerRounding, DateDiff Classes: Account, Amortizer, ChartOfAccounts, CompoundInterestAmortizer, MortgageAmortizer, PercentageTransactionEntry, Projection, Projector, Schedule, ScheduledTransaction, TaxCalculation, TaxCalculator, Transaction, TransactionEntry, TransactionHandler, Validator

Constant Summary collapse

ABSOLUTE_START =
Date.new 1970
ABSOLUTE_END =
Date.new 9999
VERSION =
"0.9.7"

Class Method Summary collapse

Class Method Details

.classify(sym) ⇒ Object



13
14
15
16
17
18
19
# File 'lib/mudrat_projector.rb', line 13

def self.classify sym
  "_#{sym}".gsub %r{_[a-z]} do |bit|
    bit.slice! 0, 1
    bit.upcase!
    bit
  end
end