Given the following two file test case, RDoc lists each class/module
twice in the Classes frame.
Adding “class Foo; end” to the top of the second file fixes this problem.
(Is rdoc.sourceforge.net still active, and the appropriate place for bug
reports, or now that it’s been bundled into Ruby is there somewhere
better (other than this list) for official reports?)
···
==========
test1.rb |
=======================================================
class Foo; end
module Foo::Mod1
def mod1; end
end
class Foo
include Foo::Mod1
def foo1; end
end
class Foo::Bar
def bar1; end
end
==========
test2.rb |
=======================================================
module Foo::Mod2
def mod2; end
end
class Foo
include Foo::Mod2
def foo2; end
end
class Foo::Bar
def bar2; end
end
gavinkis% rdoc -v
RDoc V1.0pr1: 2004/01/12 16:06:01 (1.1.2.2)
–
(-, /\ / / //