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

inspect

        # Rational.inspect

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

---

Returns the value as a string for inspection.

    Rational(2).inspect      #=> "(2/1)"
    Rational(-8, 6).inspect  #=> "(-4/3)"
    Rational('1/2').inspect  #=> "(1/2)"



      

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.