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

each_with_index

        # Enumerator.each_with_index

(from ruby core)
---
    e.each_with_index {|(*args), idx| ... }
    e.each_with_index

---

Same as Enumerator#with_index(0), i.e. there is no starting offset.

If no block is given, a new Enumerator is returned that includes the
index.



      

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.