summaryrefslogtreecommitdiff
path: root/bin/ri
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-01 00:05:13 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2004-01-01 00:05:13 +0000
commit831a294b0c644159a7388e3dd8d324abbe9cc08d (patch)
treea6795d2688402e33a9f223b1455f89afb1998208 /bin/ri
parentbd45695886c6f0313abfca7b3c692d56722f00bb (diff)
Fix problem with ambiguous nested classes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bin/ri')
-rwxr-xr-xbin/ri2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ri b/bin/ri
index 4567c66..0fee8a8 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