summaryrefslogtreecommitdiffstats
path: root/lib/rdoc/ri
diff options
context:
space:
mode:
authordave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-16 20:50:44 +0000
committerdave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-16 20:50:44 +0000
commit678b56de3aa5e934506154f0a9f3c47123988c1c (patch)
treef97dac370fe007bb674c6e52dbf02ca19481f174 /lib/rdoc/ri
parentc9c92dc59f0e938a2b66edef570ab3b305363a7b (diff)
downloadruby-678b56de3aa5e934506154f0a9f3c47123988c1c.tar.gz
ruby-678b56de3aa5e934506154f0a9f3c47123988c1c.tar.xz
ruby-678b56de3aa5e934506154f0a9f3c47123988c1c.zip
commit miss
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/ri')
-rw-r--r--lib/rdoc/ri/ri_cache.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/rdoc/ri/ri_cache.rb b/lib/rdoc/ri/ri_cache.rb
index da2a7e47f..f2cdbf6f3 100644
--- a/lib/rdoc/ri/ri_cache.rb
+++ b/lib/rdoc/ri/ri_cache.rb
@@ -85,8 +85,9 @@ module RI
# is a class method or not, otherwise we only return
# those methods that match
def local_methods_matching(name, is_class_method)
+
list = case is_class_method
- when nil then @class_methods + @instance
+ when nil then @class_methods + @instance_methods
when true then @class_methods
when false then @instance_methods
else fail "Unknown is_class_method"