diff options
| author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-24 18:59:27 +0000 |
|---|---|---|
| committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-03-24 18:59:27 +0000 |
| commit | e5e16e7c2f164a57774461d4d2ca8c97e9668239 (patch) | |
| tree | e98d8c2ca420209a42ecbbd14a158e1020096286 | |
| parent | 3b83f1f7b9e7f8fc05cd3be379b615f2ca7c9d20 (diff) | |
| download | ruby-e5e16e7c2f164a57774461d4d2ca8c97e9668239.tar.gz ruby-e5e16e7c2f164a57774461d4d2ca8c97e9668239.tar.xz ruby-e5e16e7c2f164a57774461d4d2ca8c97e9668239.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/branches/ruby_1_8@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 6 | ||||
| -rw-r--r-- | lib/rdoc/ri/ri_util.rb | 1 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,9 @@ +Thu Mar 25 03:57:47 2004 Dave Thomas <dave@pragprog.com> + + * 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 <dave@pragprog.com> * 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 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 |
