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 | 871fec2a7b0f61975561998f47c9b0267eba4caa (patch) | |
| tree | b90f8108e1109d010bd993454619452cd4e060da /lib | |
| parent | 4bcc562ebb25614f562bc9b8bf14224347a5ff21 (diff) | |
| download | ruby-871fec2a7b0f61975561998f47c9b0267eba4caa.tar.gz ruby-871fec2a7b0f61975561998f47c9b0267eba4caa.tar.xz ruby-871fec2a7b0f61975561998f47c9b0267eba4caa.zip | |
Forgot to check special case at top level
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -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 700f93a2a..a60affb7d 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 |
