1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/rdoc: Update to RDoc master 900de99. Changes include:

Fixed documentation display of constants

  Fixed handling of unknown parsers

* test/rdoc:  ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
drbrain 2013-12-03 00:42:49 +00:00
parent ff9f9c6d84
commit f462cdb5d9
5 changed files with 26 additions and 12 deletions

View file

@ -63,15 +63,7 @@ class RDoc::Constant < RDoc::CodeObject
# for a documented class or module.
def documented?
return true if super
return false unless @is_alias_for
case @is_alias_for
when String then
found = @store.find_class_or_module @is_alias_for
return false unless found
@is_alias_for = found
end
@is_alias_for.documented?
super or is_alias_for && is_alias_for.documented?
end
##