class-name matching problem with rdoc

J

Joel VanderWerf

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)
 
D

Dave Thomas

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.


Cheers

Dave
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top