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

each

        # Range.each

(from ruby core)
---
    each {|element| ... } -> self
    each                  -> an_enumerator

---

With a block given, passes each element of `self` to the block:

    a = []
    (1..4).each {|element| a.push(element) } # => 1..4
    a # => [1, 2, 3, 4]

Raises an exception unless `self.first.respond_to?(:succ)`.

With no block given, returns an enumerator.



      

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.