Sha256: 7a56b3186d8560e2ad38b15f9ef4c31dd1374ef1f87e51e5ecd173cb9986edad

Contents?: true

Size: 222 Bytes

Versions: 4

Compression:

Stored size: 222 Bytes

Contents

# frozen_string_literal: true

module Interage
  module NumberHelper
    def default_currency_format(number, precision = 2, unit = 'R$')
      number_to_currency(number, precision: precision, unit: unit)
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
interage-helper-0.1.3 lib/interage/number_helper.rb
interage-helper-0.1.2 lib/interage/number_helper.rb
interage-helper-0.1.1 lib/interage/number_helper.rb
interage-helper-0.1.0 lib/interage/number_helper.rb