diff options
| author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-10 14:52:30 +0000 |
|---|---|---|
| committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-04-10 14:52:30 +0000 |
| commit | 2be6b7f1669310b612b38528ab1d9f9c0feb4cf5 (patch) | |
| tree | 94dadff0cbdbc6d481325647b6ab4862549043f1 /lib/rdoc/code_objects.rb | |
| parent | 38b49f65a70ee98680ce0d373d607c2ba106fdfc (diff) | |
Fix :enddoc
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@6133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/code_objects.rb')
| -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 c48f5957b2..700f93a2a1 100644 --- a/lib/rdoc/code_objects.rb +++ b/lib/rdoc/code_objects.rb @@ -233,14 +233,14 @@ module RDoc else cls = class_type.new(name, superclass) puts "Adding class/module #{name} to #@name" if $DEBUG - collection[name] = cls + collection[name] = cls if @document_self && !@done_documenting cls.parent = self end cls end def add_to(array, thing) - array << thing if @document_self + array << thing if @document_self && !@done_documenting thing.parent = self end |
