This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Pathname.each_filename (from ruby core) --- each_filename() { |filename| ... } --- Iterates over each component of the path. Pathname.new("/usr/bin/ruby").each_filename {|filename| ... } # yields "usr", "bin", and "ruby". Returns an Enumerator if no block was given. enum = Pathname.new("/usr/bin/ruby").each_filename # ... do stuff ... enum.each { |e| ... } # yields "usr", "bin", and "ruby".
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.