diff options
author | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-31 00:19:00 +0000 |
---|---|---|
committer | drbrain <drbrain@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-07-31 00:19:00 +0000 |
commit | 89b601d176a64f1293a3d3b5195b6735cbf880af (patch) | |
tree | c7f148e8cf8576202220ce567dc8b9a698e4b114 /lib/rdoc/context.rb | |
parent | 4ac69a57b5e8587a321b052212ae5b9bedeafe55 (diff) |
* lib/rdoc: Update to RDoc 3.9. Fixed `ri []`, stopdoc creating an
object reference, nodoc for class aliases, verbatim === lines.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/context.rb')
-rw-r--r-- | lib/rdoc/context.rb | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/lib/rdoc/context.rb b/lib/rdoc/context.rb index d2552c647c..abdab2026d 100644 --- a/lib/rdoc/context.rb +++ b/lib/rdoc/context.rb @@ -423,6 +423,7 @@ class RDoc::Context < RDoc::CodeObject if klass then # if TopLevel, it may not be registered in the classes: enclosing.classes_hash[name] = klass + # update the superclass if needed if superclass then existing = klass.superclass @@ -623,8 +624,10 @@ class RDoc::Context < RDoc::CodeObject ## # Is there any content? - # This means any of: comment, aliases, methods, attributes, - # external aliases, require, constant. + # + # This means any of: comment, aliases, methods, attributes, external + # aliases, require, constant. + # # Includes are also checked unless <tt>includes == false</tt>. def any_content(includes = true) |