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

default=

        # Hash.default=

(from ruby core)
---
    hash.default = value -> object

---

Sets the default value to `value`; returns `value`:
    h = {}
    h.default # => nil
    h.default = false # => false
    h.default # => false

See [Default Values](#class-Hash-label-Default+Values).



      

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.