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

inspect

        # Complex.inspect

(from ruby core)
---
    cmp.inspect  ->  string

---

Returns the value as a string for inspection.

    Complex(2).inspect                       #=> "(2+0i)"
    Complex('-8/6').inspect                  #=> "((-4/3)+0i)"
    Complex('1/2i').inspect                  #=> "(0+(1/2)*i)"
    Complex(0, Float::INFINITY).inspect      #=> "(0+Infinity*i)"
    Complex(Float::NAN, Float::NAN).inspect  #=> "(NaN+NaN*i)"



      

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.