Sha256: b7e078e0d4aed48f2644b7e51d0ef7f915124ddda659d6097b4228abdb2628a0

Contents?: true

Size: 275 Bytes

Versions: 1

Compression:

Stored size: 275 Bytes

Contents

class BigDecimal
  # Formats this BigDecimal to look like a float, which is at least readable.
  # @return [String] a String representation of this BigDecimal object (via float)
  # @example
  #   BigDecimal.new(1).inspect_lit # => "1.0"
  def inspect_lit
    to_s
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
object_identifier-0.0.4 lib/object_identifier/core_ext/big_decimal.rb