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

dig

        # OpenStruct.dig

(from ruby core)
---
    ostruct.dig(name, *identifiers) -> object

---

Finds and returns the object in nested objects that is specified by
`name` and `identifiers`. The nested objects may be instances of various
classes. See [Dig Methods](rdoc-ref:dig_methods.rdoc).

Examples:
    require "ostruct"
    address = OpenStruct.new("city" => "Anytown NC", "zip" => 12345)
    person  = OpenStruct.new("name" => "John Smith", "address" => address)
    person.dig(:address, "zip") # => 12345
    person.dig(:business_address, "zip") # => nil



      

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.