Sha256: 2d1e70fa96fdea5f8e62b4c71346a73196237c06a4b6fa4622533a40c6ed332d

Contents?: true

Size: 219 Bytes

Versions: 2

Compression:

Stored size: 219 Bytes

Contents

# frozen_string_literal: true

module TaxCalculator
  module Ohio
    module Columbus
      TAX_RATE = 2.5 # 2020

      def self.taxes_for(income)
        (income * TAX_RATE / 100).round(2)
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
tax_calculator-0.4.0 lib/tax_calculator/ohio/columbus.rb
tax_calculator-0.3.0 lib/tax_calculator/ohio/columbus.rb