Class: Integer

Inherits:
Object
  • Object
show all
Defined in:
lib/tax_calc.rb

Instance Method Summary collapse

Instance Method Details

#new_taxObject



4
5
6
# File 'lib/tax_calc.rb', line 4

def new_tax
  return (self*0.08).round()
end

#old_taxObject



8
9
10
# File 'lib/tax_calc.rb', line 8

def old_tax
  return (self*0.05).round()
end