From 16040850af57472ad0ec20fb9f86277c9527458d Mon Sep 17 00:00:00 2001 From: dave Date: Wed, 24 Mar 2004 18:59:27 +0000 Subject: [PATCH] Must now use "::" to separate nested classes. This fixes bug where "ri Kernel.Array" was looking for a class called Array git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 6 ++++++ lib/rdoc/ri/ri_util.rb | 1 + 2 files changed, 7 insertions(+) diff --git a/ChangeLog b/ChangeLog index 84bb1e8c4f..b25006d2c1 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Thu Mar 25 03:57:47 2004 Dave Thomas + + * lib/rdoc/ri/ri_util.rb (NameDescriptor::initialize): No longer + allow nested classes to be designated using "."--you must + now use "::" + Thu Mar 25 02:00:18 2004 Dave Thomas * lib/rdoc/generators/template/html/one_page_html.rb (Page): diff --git a/lib/rdoc/ri/ri_util.rb b/lib/rdoc/ri/ri_util.rb index d8678c49d7..8a01255897 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