Module: IncomeTax::Models

Defined in:
lib/income_tax/models.rb,
lib/income_tax/models/generic.rb,
lib/income_tax/models/delegate.rb,
lib/income_tax/models/no_taxes.rb,
lib/income_tax/models/fixed_rate.rb,
lib/income_tax/models/progressive.rb,
lib/income_tax/models/not_implemented.rb

Defined Under Namespace

Classes: Delegate, FixedRate, Generic, NoTaxes, NotImplemented, Progressive

Class Method Summary collapse

Class Method Details

.Delegate(base) ⇒ Object



3
4
5
# File 'lib/income_tax/models/delegate.rb', line 3

def self.Delegate(base)
  Class.new(Delegate) { delegate_to(base) }
end