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

imaginary

        # Complex.imaginary

(from ruby core)
---
    cmp.imag       ->  real
    cmp.imaginary  ->  real

---

Returns the imaginary part.

    Complex(7).imaginary      #=> 0
    Complex(9, -4).imaginary  #=> -4



      

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.