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

freeze

        # Set.freeze

(from ruby core)
### Implementation from Object
---
    obj.freeze    -> obj

---

Prevents further modifications to *obj*. A FrozenError will be raised if
modification is attempted. There is no way to unfreeze a frozen object.
See also Object#frozen?.

This method returns self.

    a = [ "a", "b", "c" ]
    a.freeze
    a << "z"

*produces:*

    prog.rb:3:in `<<': can't modify frozen Array (FrozenError)
     from prog.rb:3

Objects of the following classes are always frozen: Integer, Float,
Symbol.



      

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.