mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
This commit is contained in:
parent
154c29be3a
commit
16040850af
2 changed files with 7 additions and 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>
|
Thu Mar 25 02:00:18 2004 Dave Thomas <dave@pragprog.com>
|
||||||
|
|
||||||
* lib/rdoc/generators/template/html/one_page_html.rb (Page):
|
* lib/rdoc/generators/template/html/one_page_html.rb (Page):
|
||||||
|
|
|
@ -43,6 +43,7 @@ class NameDescriptor
|
||||||
@class_names << tokens.shift
|
@class_names << tokens.shift
|
||||||
unless tokens.empty?
|
unless tokens.empty?
|
||||||
separator = tokens.shift
|
separator = tokens.shift
|
||||||
|
break unless separator == "::"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue