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

year

        # Time.year

(from ruby core)
---
    time.year -> integer

---

Returns the year for *time* (including the century).

    t = Time.now   #=> 2007-11-19 08:27:51 -0600
    t.year         #=> 2007



      

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.