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

assoc

        # Hash.assoc

(from ruby core)
---
    hash.assoc(key) -> new_array or nil

---

If the given `key` is found, returns a 2-element Array containing that
key and its value:
    h = {foo: 0, bar: 1, baz: 2}
    h.assoc(:bar) # => [:bar, 1]

Returns `nil` if key `key` is not found.



      

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.