Sha256: 5947b4cf9e9cf2b4bac4ba44776a8a0c56295558408c8977644273b1f2c7ca0a

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

module SingaporeCPFCalculator

  # Null CPF calculators.
  module NullContributionCalculator

    class << self

      # returns zero value
      def calculate(*)
        CPFContribution.new total: BigDecimal.new("0.0"),
                            employee: BigDecimal.new("0.0")
      end

    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
singapore_cpf_calculator-1.2.0 lib/singapore_cpf_calculator/null_contribution_calculator.rb
singapore_cpf_calculator-1.1.1 lib/singapore_cpf_calculator/null_contribution_calculator.rb