From: Dave Thomas Date: 2006-08-06T10:18:21+09:00 Subject: Re: Problem with RDoc On Aug 5, 2006, at 10:30 AM, Chris Gehlker wrote: >> RDoc documents the files you give it--it doesn't execute the code >> to find out what files you use. You have two files, each of which >> adds methods to My_Class, so it documents both sets of definitions. > > Exactly. > > I think one could make a good argument that this is the *right* > behavior. It can be a bit surprising though, given the practice of > some Ruby developers of distributing files that are 'in progress' > along with the files are actually required in their projects. > Sometimes these 'in progress' files actually contain more extensive > RDoc documentation than the files that are actually required into > the main class. You can use --exclude to ignore those files that are in development. Dave