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 sum of `self` and `value`:

    b = BigDecimal('111111.111') # => 0.111111111e6
    b + 2                        # => 0.111113111e6
    b + 2.0                      # => 0.111113111e6
    b + Rational(2, 1)           # => 0.111113111e6
    b + Complex(2, 0)            # => (0.111113111e6+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.