mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 13:04:13 +02:00
Fix up cross-file class merging
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
b22110e517
commit
61503bbf3b
3 changed files with 11 additions and 1 deletions
|
@ -477,6 +477,12 @@ module RDoc
|
|||
nil
|
||||
end
|
||||
|
||||
# Find a named module
|
||||
def find_module_named(name)
|
||||
find_class_or_module_named(name) || find_enclosing_module_named(name)
|
||||
end
|
||||
|
||||
|
||||
end
|
||||
|
||||
# ClassModule is the base class for objects representing either a
|
||||
|
|
|
@ -1760,7 +1760,7 @@ module RDoc
|
|||
else
|
||||
cls_type = NormalClass
|
||||
end
|
||||
|
||||
|
||||
cls = container.add_class(cls_type, name, superclass)
|
||||
read_documentation_modifiers(cls, CLASS_MODIFIERS)
|
||||
cls.record_location(@top_level)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue