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

leap?

        # Date.leap?

(from ruby core)
---
    Date.gregorian_leap?(year)  ->  bool
    Date.leap?(year)            ->  bool

---

Returns true if the given year is a leap year of the proleptic Gregorian
calendar.

    Date.gregorian_leap?(1900)        #=> false
    Date.gregorian_leap?(2000)        #=> true


(from ruby core)
---
    d.leap?  ->  bool

---

Returns true if the year is a leap year.

    Date.new(2000).leap?      #=> true
    Date.new(2001).leap?      #=> false



      

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.