From 89b601d176a64f1293a3d3b5195b6735cbf880af Mon Sep 17 00:00:00 2001 From: drbrain Date: Sun, 31 Jul 2011 00:19:00 +0000 Subject: * 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 --- lib/rdoc/context.rb | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'lib/rdoc/context.rb') 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 includes == false. def any_content(includes = true) -- cgit v1.2.3