зеркало из https://github.com/github/ruby.git
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
This commit is contained in:
Родитель
da8a0fa474
Коммит
7e9f3d2934
|
@ -1,3 +1,9 @@
|
|||
Sun Apr 11 10:47:04 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/code_objects.rb (RDoc::TopLevel::add_class_or_module): Toplevel
|
||||
classes and modules are a special case too... (handle extending existing
|
||||
classes with or without :enddoc:)
|
||||
|
||||
Sat Apr 10 23:51:13 2004 Dave Thomas <dave@pragprog.com>
|
||||
|
||||
* lib/rdoc/code_objects.rb (RDoc::Context::add_to): Implementation of :enddoc:
|
||||
|
|
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче