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

cwyear

        # Date.cwyear

(from ruby core)
---
    d.cwyear  ->  integer

---

Returns the calendar week based year.

    Date.new(2001,2,3).cwyear         #=> 2001
    Date.new(2000,1,1).cwyear         #=> 1999



      

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.