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

compact

        # Array.compact

(from ruby core)
---
    array.compact -> new_array

---

Returns a new Array containing all non-`nil` elements from `self`:
    a = [nil, 0, nil, 1, nil, 2, nil]
    a.compact # => [0, 1, 2]



      

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.