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

clear

        # Array.clear

(from ruby core)
---
    array.clear -> self

---

Removes all elements from `self`:
    a = [:foo, 'bar', 2]
    a.clear # => []



      

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.