This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# OpenStruct.== (from ruby core) --- ==(other) --- Compares this object and `other` for equality. An OpenStruct is equal to `other` when `other` is an OpenStruct and the two objects' Hash tables are equal. require "ostruct" first_pet = OpenStruct.new("name" => "Rowdy") second_pet = OpenStruct.new(:name => "Rowdy") third_pet = OpenStruct.new("name" => "Rowdy", :age => nil) first_pet == second_pet # => true first_pet == third_pet # => false
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.