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

-

        # Complex.-

(from ruby core)
---
    cmp - numeric  ->  complex

---

Performs subtraction.

    Complex(2, 3)  - Complex(2, 3)   #=> (0+0i)
    Complex(900)   - Complex(1)      #=> (899+0i)
    Complex(-2, 9) - Complex(-9, 2)  #=> (7+7i)
    Complex(9, 8)  - 4               #=> (5+8i)
    Complex(20, 9) - 9.8             #=> (10.2+9i)



      

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.