From: Ian Macdonald Date: 2004-01-01T10:26:47+09:00 Subject: Re: rdoc: how to generate rdoc & ri documentation of standard library? On Thu 01 Jan 2004 at 00:00:48 +0900, Dave Thomas wrote: > To get something more meaningful, start in the Ruby source tree (not > the installed library) and issue the command > > rdoc --ri *.c lib/*.rb > > That will document (in ri form) the built-in functions and all the > direct standard library classes. It'll take a minute or two, but when > it's done, you'll be able to say > > ri Array > ri CGI > ri Tempfile::open If I issue the command line above, I get class entries for Array and Hash (and probably others) that contain no methods. If I amend the command line to 'rdoc --ri *.c' (i.e. excluding 'lib/*.rb'), the Array and Hash entries get populated with their methods. A bug? Ian -- Ian Macdonald | Natural laws have no pity. System Administrator | ian@caliban.org | http://www.caliban.org | |