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

downto

        # Integer.downto

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

---

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

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

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.