summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-01 00:07:11 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-01 00:07:11 +0000
commit5e8d580ef35bbe58f213e1c9d65225223ea6e559 (patch)
treeb95e5819401b90a97e920813d96496e0ce361e09 /bin
parent6ca63fe204152bf1c06a71cf76d7b0c3d5a2eeaa (diff)
downloadruby-5e8d580ef35bbe58f213e1c9d65225223ea6e559.tar.gz
Fix problem with ambiguous names in nested classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8@5361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin')
-rwxr-xr-xbin/ri2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ri b/bin/ri
index 4567c66d46..0fee8a84d4 100755
--- a/bin/ri
+++ b/bin/ri
@@ -209,7 +209,7 @@ def report_class_stuff(requested_class_name, namespaces)
if namespaces.size == 1
display_class_info(namespaces[0])
else
- entries = namespaces.find_all {|m| m.name == requested_class_name}
+ entries = namespaces.find_all {|m| m.full_name == requested_class_name}
if entries.size == 1
display_class_info(entries[0])
else