This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

-

        # BigDecimal.-

(from ruby core)
---
    self - value -> bigdecimal

---

Returns the BigDecimal difference of `self` and `value`:

    b = BigDecimal('333333.333') # => 0.333333333e6
    b - 2                        # => 0.333331333e6
    b - 2.0                      # => 0.333331333e6
    b - Rational(2, 1)           # => 0.333331333e6
    b - Complex(2, 0)            # => (0.333331333e6+0i)

See the [Note About
Precision](BigDecimal.html#class-BigDecimal-label-A+Note+About+Precision
).



      

This is MURDOC! A Ruby documentation browser inspired by Smalltalk-80. It allows you to learn about Ruby by browsing through its class hierarchies, and see any of its methods.