Class: IncomeTax::Countries::Barbados
- Inherits:
-
Models::Progressive
- Object
- Models::Generic
- Models::Progressive
- IncomeTax::Countries::Barbados
- Defined in:
- lib/income_tax/countries/barbados.rb
Instance Attribute Summary
Attributes inherited from Models::Generic
#gross_income, #net_income, #options, #rate, #taxes
Instance Method Summary collapse
Methods inherited from Models::Progressive
#calculate_gross, #calculate_net, level, levels, #levels, offset, remainder, tax_year, tax_years
Methods inherited from Models::Generic
#based_on?, #cast_value, #cast_values, currency, #initialize, #inspect, lazy, #location_name, method_added, name, names, new, other_names, register, register_on, #set_default_options, #setup, #validate, wants_options
Constructor Details
This class inherits a constructor from IncomeTax::Models::Generic
Instance Method Details
#level_category ⇒ Object
19 20 21 |
# File 'lib/income_tax/countries/barbados.rb', line 19 def level_category senior? ? :senior : super end |
#senior? ⇒ Boolean
23 24 25 |
# File 'lib/income_tax/countries/barbados.rb', line 23 def senior? age >= 60 end |