This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.

each

        # Dir.each

(from ruby core)
---
    dir.each { |filename| block }  -> dir
    dir.each                       -> an_enumerator

---

Calls the block once for each entry in this directory, passing the
filename of each entry as a parameter to the block.

If no block is given, an enumerator is returned instead.

    d = Dir.new("testdir")
    d.each  {|x| puts "Got #{x}" }

*produces:*

    Got .
    Got ..
    Got config.h
    Got 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.