mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Import RDoc 3.5.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
918f625a5e
commit
cc2a16d94d
49 changed files with 2119 additions and 273 deletions
|
@ -151,7 +151,7 @@ class RDoc::ClassModule < RDoc::Context
|
|||
end
|
||||
|
||||
##
|
||||
# Finds a class or module with +name+ in this namespace or its descendents
|
||||
# Finds a class or module with +name+ in this namespace or its descendants
|
||||
|
||||
def find_class_named name
|
||||
return self if full_name == name
|
||||
|
@ -308,7 +308,7 @@ class RDoc::ClassModule < RDoc::Context
|
|||
##
|
||||
# Name to use to generate the url:
|
||||
# modules and classes that are aliases for another
|
||||
# module or classe return the name of the latter.
|
||||
# module or class return the name of the latter.
|
||||
|
||||
def name_for_path
|
||||
is_alias_for ? is_alias_for.full_name : full_name
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue