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

getutc

        # Time.getutc

(from ruby core)
---
    getutc()

---

Returns a new Time object representing *time* in UTC.

    t = Time.local(2000,1,1,20,15,1)   #=> 2000-01-01 20:15:01 -0600
    t.gmt?                             #=> false
    y = t.getgm                        #=> 2000-01-02 02:15:01 UTC
    y.gmt?                             #=> true
    t == y                             #=> true


(This method is an alias for Time#getgm.)

Returns a new Time object representing *time* in UTC.

    t = Time.local(2000,1,1,20,15,1)   #=> 2000-01-01 20:15:01 -0600
    t.gmt?                             #=> false
    y = t.getgm                        #=> 2000-01-02 02:15:01 UTC
    y.gmt?                             #=> true
    t == y                             #=> true



      

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.