module FatCore::BigDecimal
Extensions to BigDecimal
class
Public Instance Methods
inspect()
click to toggle source
Provide a human-readable display for BigDecimal
. e.g., while debugging. The inspect method in BigDecimal
is unreadable, as it exposes the underlying implementation, not the number's value. This corrects that.
@return [String]
# File lib/fat_core/bigdecimal.rb, line 13 def inspect to_f.to_s end