This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Pathname./ (from ruby core) --- /(other) --- (This method is an alias for Pathname#+.) Appends a pathname fragment to `self` to produce a new Pathname object. p1 = Pathname.new("/usr") # Pathname:/usr p2 = p1 + "bin/ruby" # Pathname:/usr/bin/ruby p3 = p1 + "/etc/passwd" # Pathname:/etc/passwd # / is aliased to +. p4 = p1 / "bin/ruby" # Pathname:/usr/bin/ruby p5 = p1 / "/etc/passwd" # Pathname:/etc/passwd This method doesn't access the file system; it is pure string manipulation.
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.