From e259aab3e5b0acc25fc93c9c83e6c032fed38597 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: http://svn.ruby-lang.org/repos/ruby/trunk@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ lib/rdoc/code_objects.rb | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 8c3870743..a25945b0d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Tue Oct 26 23:30:39 2004 Dave Thomas + + * lib/rdoc/code_objects.rb (RDoc::Context::add_class_or_module): + Restore correct :nopdoc: behavior with nested classes and modules. + Mon Oct 25 18:35:39 2004 WATANABE Hirofumi * win32/win32.c (isUNCRoot): should check NUL after '.'. diff --git a/lib/rdoc/code_objects.rb b/lib/rdoc/code_objects.rb index 55b1cfa65..bd713ab92 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