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/branches/ruby_1_8@6019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
05473329e4
commit
aa8658f7b1
2 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,7 @@ class NameDescriptor
|
|||
@class_names << tokens.shift
|
||||
unless tokens.empty?
|
||||
separator = tokens.shift
|
||||
break unless separator == "::"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue