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

httpdate

        # Time.httpdate

(from ruby core)
---
    httpdate(date)

---

Parses `date` as an HTTP-date defined by RFC 2616 and converts it to a
Time object.

ArgumentError is raised if `date` is not compliant with RFC 2616 or if
the Time class cannot represent specified date.

See #httpdate for more information on this format.

    require 'time'

    Time.httpdate("Thu, 06 Oct 2011 02:26:12 GMT")
    #=> 2011-10-06 02:26:12 UTC

You must require 'time' to use this method.


(from ruby core)
---
    httpdate()

---

Returns a string which represents the time as RFC 1123 date of HTTP-date
defined by RFC 2616:

    day-of-week, DD month-name CCYY hh:mm:ss GMT

Note that the result is always UTC (GMT).

    require 'time'

    t = Time.now
    t.httpdate # => "Thu, 06 Oct 2011 02:26:12 GMT"

You must require 'time' to use this method.



      

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.