Gavin Sinclair <gsinclair / soyabean.com.au> wrote in message news:<1144331965.20030827085028 / soyabean.com.au>...
> On Wednesday, August 27, 2003, 4:00:11 AM, mgarriss wrote:
> 
> > If you're feeling brave you could read the ./ext/readline/readline.c 
> > file under the ruby source tree.
> > I often have to look in .c files to see what methods I have available to 
> > me. :)
> 
> No you don't :)  Run irb and enter "Readline.instance_methods"!
> 

Or you can use a variant of that :

(Readline.public_methods - Object.public_methods).sort

This shows only the Readline specific methods. Then you can look at
the c code if you need more information about a method.

Denis