summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/code_objects.rb
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-26 14:33:17 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-10-26 14:33:17 +0000
commite259aab3e5b0acc25fc93c9c83e6c032fed38597 (patch)
tree89f09c7a4568d81dc66c8336d027c082a233d2be /lib/rdoc/code_objects.rb
parentc62c36ed12b2793ea4e551976bbf24a2d3b071b5 (diff)
downloadruby-e259aab3e5b0acc25fc93c9c83e6c032fed38597.tar.gz
ruby-e259aab3e5b0acc25fc93c9c83e6c032fed38597.tar.xz
ruby-e259aab3e5b0acc25fc93c9c83e6c032fed38597.zip
Restore correct :nodoc: behavior with nested classes
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@7113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/code_objects.rb')
-rw-r--r--lib/rdoc/code_objects.rb3
1 files changed, 2 insertions, 1 deletions
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