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

new_offset

        # DateTime.new_offset

(from ruby core)
---
    d.new_offset([offset=0])  ->  date

---

Duplicates self and resets its offset.

    d = DateTime.new(2001,2,3,4,5,6,'-02:00')
                              #=> #<DateTime: 2001-02-03T04:05:06-02:00 ...>
    d.new_offset('+09:00')    #=> #<DateTime: 2001-02-03T15:05:06+09:00 ...>



      

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.