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

sub

        # BigDecimal.sub

(from ruby core)
---
    sub(value, digits)  -> bigdecimal

---

Subtract the specified value.

e.g.
    c = a.sub(b,n)

digits
:   If specified and less than the number of significant digits of the
    result, the result is rounded to that number of digits, according to
    BigDecimal.mode.




      

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.