From 8a0d7d99aecac37ea0235c0714c22e17de858903 Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 26 Oct 2004 14:33:17 +0000 Subject: Restore correct :nodoc: behavior with nested classes git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/code_objects.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/rdoc') diff --git a/lib/rdoc/code_objects.rb b/lib/rdoc/code_objects.rb index 55b1cfa656..bd713ab92b 100644 --- a/lib/rdoc/code_objects.rb +++ b/lib/rdoc/code_objects.rb @@ -233,7 +233,8 @@ module RDoc else cls = class_type.new(name, superclass) puts "Adding class/module #{name} to #@name" if $DEBUG - collection[name] = cls if @document_self && !@done_documenting +# collection[name] = cls if @document_self && !@done_documenting + collection[name] = cls if !@done_documenting cls.parent = self end cls -- cgit v1.2.3