TODO

Path: TODO
Last Update: Tue May 29 14:10:22 +0000 2012

Tasks:

  • look at method#to_s to figure out what class or module defines it (where to first look for help)
  • if the module or class isn‘t loaded, look at the module docs to trace its inheritance tree for method help lookup
    • "Foo < Bar", ohh, look in Bar next
    • "Includes:… Baz, Enumerable", ooh, look in Baz and Enumerable too
  • try to get the ancestor-lookup stuff into rdoc itself so that the help method can use rdoc directly without having to hack into the internals
    • global gains, ri‘d work better too :)

Future:

=

High-level goal: Learning Ruby from irb

 1. fire up irb
 2. type ihelp
 3. read
 4. emerge with understanding

Kinda like Python‘s help()

Things that would be nice

[Validate]