Sha256: 3bc11ad92cdd4bfb5cb8e89b58fb17fb44e9ea5f590d2e841d86cdab1a23b8f3

Contents?: true

Size: 276 Bytes

Versions: 92

Compression:

Stored size: 276 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

92 entries across 88 versions & 14 rubygems

Version Path
tailscale_middleware-0.0.3 vendor/cache/ruby/3.4.0/gems/activesupport-8.0.1/lib/active_support/core_ext/big_decimal/conversions.rb
trusty-cms-7.0.9.1 vendor/bundle/ruby/3.3.0/gems/activesupport-7.0.8.7/lib/active_support/core_ext/big_decimal/conversions.rb
minato_ruby_api_client-0.2.2 vendor/bundle/ruby/3.2.0/gems/activesupport-7.1.3.4/lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-8.0.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-8.0.0.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.2.2.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.1.5.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.0.8.7 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-8.0.0 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.2.2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.1.5 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-8.0.0.rc2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.2.1.2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.1.4.2 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.0.8.6 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-8.0.0.rc1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.2.1.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.1.4.1 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-7.0.8.5 lib/active_support/core_ext/big_decimal/conversions.rb
activesupport-8.0.0.beta1 lib/active_support/core_ext/big_decimal/conversions.rb