summaryrefslogtreecommitdiff
path: root/lib/rdoc/ri/ri_cache.rb
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
commita366e19a1246f6100cde7c297a912706198b445c (patch)
treef97dac370fe007bb674c6e52dbf02ca19481f174 /lib/rdoc/ri/ri_cache.rb
parentbc8c73c42a552fcc1d414c3475c64099f5a246d6 (diff)
commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/rdoc/ri/ri_cache.rb')
-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 da2a7e47ffb..f2cdbf6f38d 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"