summaryrefslogtreecommitdiffstats
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
commit97f32c79854ece1918ee7ce007e53467be19c7b2 (patch)
treeb95e5819401b90a97e920813d96496e0ce361e09
parent37440963f9fa5df3d666967faad1109b8b7e8791 (diff)
downloadruby-97f32c79854ece1918ee7ce007e53467be19c7b2.tar.gz
ruby-97f32c79854ece1918ee7ce007e53467be19c7b2.tar.xz
ruby-97f32c79854ece1918ee7ce007e53467be19c7b2.zip
Fix problem with ambiguous names in nested classes
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rwxr-xr-xbin/ri2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/ri b/bin/ri
index 4567c66d4..0fee8a84d 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