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

gmt_offset

        # Time.gmt_offset

(from ruby core)
---
    gmt_offset()

---

Returns the offset in seconds between the timezone of *time* and UTC.

    t = Time.gm(2000,1,1,20,15,1)   #=> 2000-01-01 20:15:01 UTC
    t.gmt_offset                    #=> 0
    l = t.getlocal                  #=> 2000-01-01 14:15:01 -0600
    l.gmt_offset                    #=> -21600


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

Returns the offset in seconds between the timezone of *time* and UTC.

    t = Time.gm(2000,1,1,20,15,1)   #=> 2000-01-01 20:15:01 UTC
    t.gmt_offset                    #=> 0
    l = t.getlocal                  #=> 2000-01-01 14:15:01 -0600
    l.gmt_offset                    #=> -21600



      

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.