This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# OpenStruct.each_pair (from ruby core) --- ostruct.each_pair {|name, value| block } -> ostruct ostruct.each_pair -> Enumerator --- Yields all attributes (as symbols) along with the corresponding values or returns an enumerator if no block is given. require "ostruct" data = OpenStruct.new("country" => "Australia", :capital => "Canberra") data.each_pair.to_a # => [[:country, "Australia"], [:capital, "Canberra"]]
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.