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

upto

        # Integer.upto

(from ruby core)
---
    upto(limit) {|i| ... } -> self
    upto(limit)            ->  enumerator

---

Calls the given block with each integer value from `self` up to `limit`;
returns `self`:

    a = []
    5.upto(10) {|i| a << i }              # => 5
    a                                     # => [5, 6, 7, 8, 9, 10]
    a = []
    -5.upto(0) {|i| a << i }              # => -5
    a                                     # => [-5, -4, -3, -2, -1, 0]
    5.upto(4) {|i| fail 'Cannot happen' } # => 5

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.