diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-11 01:49:10 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-11 01:49:10 +0000 |
commit | 7e9f3d2934ffdaf1bc98654ef216a5e39f4b7d3c (patch) | |
tree | b90f8108e1109d010bd993454619452cd4e060da /lib/rdoc | |
parent | da8a0fa4748164a46da482f498c00860bb335d49 (diff) | |
download | ruby-7e9f3d2934ffdaf1bc98654ef216a5e39f4b7d3c.tar.gz |
Forgot to check special case at top level
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc')
-rw-r--r-- | lib/rdoc/code_objects.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/rdoc/code_objects.rb b/lib/rdoc/code_objects.rb index 700f93a2a1..a60affb7de 100644 --- a/lib/rdoc/code_objects.rb +++ b/lib/rdoc/code_objects.rb @@ -441,10 +441,10 @@ module RDoc cls = all[name] if !cls cls = class_type.new(name, superclass) - all[name] = cls + all[name] = cls unless @done_documenting end puts "Adding class/module #{name} to #@name" if $DEBUG - collection[name] = cls + collection[name] = cls unless @done_documenting cls.parent = self end cls |