summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-24 18:59:27 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-03-24 18:59:27 +0000
commite842f4ccccbeff60068670125ba027880529a2f4 (patch)
treed286dc28e5ba64ded4fbbe8954bd404145feffcb /lib
parent4c8e48d0d5483c6a39da9df79cb61b0646cb23e0 (diff)
downloadruby-e842f4ccccbeff60068670125ba027880529a2f4.tar.gz
ruby-e842f4ccccbeff60068670125ba027880529a2f4.tar.xz
ruby-e842f4ccccbeff60068670125ba027880529a2f4.zip
Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/rdoc/ri/ri_util.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/rdoc/ri/ri_util.rb b/lib/rdoc/ri/ri_util.rb
index d8678c49d..8a0125589 100644
--- a/lib/rdoc/ri/ri_util.rb
+++ b/lib/rdoc/ri/ri_util.rb
@@ -43,6 +43,7 @@ class NameDescriptor
@class_names << tokens.shift
unless tokens.empty?
separator = tokens.shift
+ break unless separator == "::"
end
end