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

to_a

        # Time.to_a

(from ruby core)
---
    time.to_a -> array

---

Returns a ten-element *array* of values for *time*:

    [sec, min, hour, day, month, year, wday, yday, isdst, zone]

See the individual methods for an explanation of the valid ranges of
each value. The ten elements can be passed directly to Time.utc or
Time.local to create a new Time object.

    t = Time.now     #=> 2007-11-19 08:36:01 -0600
    now = t.to_a     #=> [1, 36, 8, 19, 11, 2007, 1, 323, false, "CST"]



      

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.