This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Hash.fetch_values (from ruby core) --- hash.fetch_values(*keys) -> new_array hash.fetch_values(*keys) {|key| ... } -> new_array --- Returns a new Array containing the values associated with the given keys *keys: h = {foo: 0, bar: 1, baz: 2} h.fetch_values(:baz, :foo) # => [2, 0] Returns a new empty Array if no arguments given. When a block is given, calls the block with each missing key, treating the block's return value as the value for that key: h = {foo: 0, bar: 1, baz: 2} values = h.fetch_values(:bar, :foo, :bad, :bam) {|key| key.to_s} values # => [1, 0, "bad", "bam"] When no block is given, raises an exception if any given 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.