Sha256: a7fad0f94998474299aea5fea0a7404b08fc322d505ab905b7152c9d3737c734

Contents?: true

Size: 275 Bytes

Versions: 142

Compression:

Stored size: 275 Bytes

Contents

# frozen_string_literal: true

require "bigdecimal"
require "bigdecimal/util"

module ActiveSupport
  module BigDecimalWithDefaultFormat #:nodoc:
    def to_s(format = "F")
      super(format)
    end
  end
end

BigDecimal.prepend(ActiveSupport::BigDecimalWithDefaultFormat)

Version data entries

142 entries across 133 versions & 17 rubygems

Version Path
activesupport-5.2.0.beta1 lib/active_support/core_ext/big_decimal/conversions.rb
ruby-on-quails-0.1.0 activesupport/lib/active_support/core_ext/big_decimal/conversions.rb