This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Struct.to_s (from ruby core) --- to_s() --- Returns a string representation of `self`: Customer = Struct.new(:name, :address, :zip) # => Customer joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) joe.inspect # => "#<struct Customer name=\"Joe Smith\", address=\"123 Maple, Anytown NC\", zip=12345>" Struct#to_s is an alias for Struct#inspect. (This method is an alias for Struct#inspect.) Returns a string representation of `self`: Customer = Struct.new(:name, :address, :zip) # => Customer joe = Customer.new("Joe Smith", "123 Maple, Anytown NC", 12345) joe.inspect # => "#<struct Customer name=\"Joe Smith\", address=\"123 Maple, Anytown NC\", zip=12345>" Struct#to_s is an alias for Struct#inspect.
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.