Class-name matching problem with rdoc

After doing ‘rdoc --ri’ on the FXRuby tree (which mostly went well), I
noticed one problem with a pair of nested classes one of whose names is
an initial segment of the other. It can be easily reproduced:

$ cat rdoc-test.rb
module M
class Foo; end
class FooBar; end
end
$ rdoc --ri

                    rdoc-test.rb: mcc

Generating RI…
$ ri -T M::Foo
More than one class or module matched your request. You can refine
your search by asking for information on one of:

  M::Foo, M::FooBar

$ rdoc -v
RDoc V1.0pr1: 2003/12/01 07:12:48 (1.1)

Thanks - simple typo/thinko on my part. Fixed in the CVS.

Cheers

Dave

···

On Dec 31, 2003, at 16:04, Joel VanderWerf wrote:

After doing ‘rdoc --ri’ on the FXRuby tree (which mostly went well), I
noticed one problem with a pair of nested classes one of whose names
is an initial segment of the other. It can be easily reproduced:

Dave Thomas wrote:

After doing ‘rdoc --ri’ on the FXRuby tree (which mostly went well),
I noticed one problem with a pair of nested classes one of whose
names is an initial segment of the other. It can be easily reproduced:

Thanks - simple typo/thinko on my part. Fixed in the CVS.

Thank you Dave. You’ve supplied me with my annual new vocabulary word:
http://dictionary.reference.com/search?q=thinko. :slight_smile:

Happy new year all!
Chad

···

On Dec 31, 2003, at 16:04, Joel VanderWerf wrote: