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

with_index

        # Enumerator.with_index

(from ruby core)
---
    e.with_index(offset = 0) {|(*args), idx| ... }
    e.with_index(offset = 0)

---

Iterates the given block for each element with an index, which starts
from `offset`.  If no block is given, returns a new Enumerator that
includes the index, starting from `offset`

`offset`
:   the starting index to use




      

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.