From a366e19a1246f6100cde7c297a912706198b445c Mon Sep 17 00:00:00 2001 From: dave Date: Tue, 16 Dec 2003 20:50:44 +0000 Subject: commit miss git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/rdoc/ri/ri_cache.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rdoc/ri/ri_cache.rb b/lib/rdoc/ri/ri_cache.rb index da2a7e47ff..f2cdbf6f38 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" -- cgit v1.2.3