This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# Dir.children (from ruby core) --- Dir.children( dirname ) -> array Dir.children( dirname, encoding: enc ) -> array --- Returns an array containing all of the filenames except for "." and ".." in the given directory. Will raise a SystemCallError if the named directory doesn't exist. The optional *encoding* keyword argument specifies the encoding of the directory. If not specified, the filesystem encoding is used. Dir.children("testdir") #=> ["config.h", "main.rb"] (from ruby core) --- dir.children -> array --- Returns an array containing all of the filenames except for "." and ".." in this directory. d = Dir.new("testdir") d.children #=> ["config.h", "main.rb"]
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.