This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Digest::SHA2.inspect (from ruby core) ### Implementation from Instance --- digest_obj.inspect -> string --- Creates a printable version of the digest object. (from ruby core) ### Implementation from Object --- obj.inspect -> string --- Returns a string containing a human-readable representation of *obj*. The default #inspect shows the object's class name, an encoding of its memory address, and a list of the instance variables and their values (by calling #inspect on each of them). User defined classes should override this method to provide a better representation of *obj*. When overriding this method, it should return a string whose encoding is compatible with the default external encoding. [ 1, 2, 3..4, 'five' ].inspect #=> "[1, 2, 3..4, \"five\"]" Time.new.inspect #=> "2008-03-08 19:43:39 +0900" class Foo end Foo.new.inspect #=> "#<Foo:0x0300c868>" class Bar def initialize @bar = 1 end end Bar.new.inspect #=> "#<Bar:0x0300c868 @bar=1>"
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.