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

take

        # Array.take

(from ruby core)
---
    array.take(n) -> new_array

---

Returns a new Array containing the first `n` element of `self`, where
`n` is a non-negative Integer; does not modify `self`.

Examples:
    a = [0, 1, 2, 3, 4, 5]
    a.take(1) # => [0]
    a.take(2) # => [0, 1]
    a.take(50) # => [0, 1, 2, 3, 4, 5]
    a # => [0, 1, 2, 3, 4, 5]



      

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.