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

to_r

        # Integer.to_r

(from ruby core)
---
    int.to_r  ->  rational

---

Returns the value as a rational.

    1.to_r        #=> (1/1)
    (1<<64).to_r  #=> (18446744073709551616/1)



      

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.