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
ric-0.13.0 vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/big_decimal/conversions.rb
ric-0.12.2 vendor/bundle/ruby/2.5.0/gems/activesupport-5.2.3/lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.0.0.rc1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.3 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.3.rc1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.0.0.beta3 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.2.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.0.0.beta2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-6.0.0.beta1 lib/active_support/core_ext/big_decimal/conversions.rb
nullifyable-0.1.0 vendor/bundle/gems/activesupport-5.2.2/lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.2.rc1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.1.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.1.rc1 lib/active_support/core_ext/big_decimal/conversions.rb
monero_wallet_gen-0.1.0 vendor/bundle/ruby/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.0 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.0.rc2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.0.rc1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-5.2.0.beta2 lib/active_support/core_ext/big_decimal/conversions.rb