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

clear

        # Set.clear

(from ruby core)
---
    clear()

---

Removes all elements and returns self.
    set = Set[1, 'c', :s]             #=> #<Set: {1, "c", :s}>
    set.clear                         #=> #<Set: {}>
    set                               #=> #<Set: {}>




      

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.