This is a Ruby tree! It shows every object from the Ruby Programming Language in a tree format.
# ERB.def_method (from ruby core) --- def_method(mod, methodname, fname='(ERB)') --- Define *methodname* as instance method of *mod* from compiled Ruby source. example: filename = 'example.rhtml' # 'arg1' and 'arg2' are used in example.rhtml erb = ERB.new(File.read(filename)) erb.def_method(MyClass, 'render(arg1, arg2)', filename) print MyClass.new.render('foo', 123)
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.