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

replace

        # Hash.replace

(from ruby core)
---
    replace(p1)

---

Replaces the entire contents of `self` with the contents of
`other_hash`; returns `self`:
    h = {foo: 0, bar: 1, baz: 2}
    h.replace({bat: 3, bam: 4}) # => {:bat=>3, :bam=>4}


(This method is an alias for Hash#initialize_copy.)

Replaces the entire contents of `self` with the contents of
`other_hash`; returns `self`:
    h = {foo: 0, bar: 1, baz: 2}
    h.replace({bat: 3, bam: 4}) # => {:bat=>3, :bam=>4}



      

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.