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-6.1.7.10 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.9 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.8 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.7 lib/active_support/core_ext/big_decimal/conversions.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.6 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.5 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.4 lib/active_support/core_ext/big_decimal/conversions.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/activesupport-6.1.6.1/lib/active_support/core_ext/big_decimal/conversions.rb
mumukit-content-type-1.12.1 vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/big_decimal/conversions.rb
mumukit-content-type-1.12.0 vendor/bundle/ruby/2.7.0/gems/activesupport-6.0.6.1/lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.3 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.0.6.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.7 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.0.6 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.1.6.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.0.5.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.8.1 lib/active_support/core_ext/big_decimal/conversions.rb