diff options
author | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 20:50:44 +0000 |
---|---|---|
committer | dave <dave@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2003-12-16 20:50:44 +0000 |
commit | a366e19a1246f6100cde7c297a912706198b445c (patch) | |
tree | f97dac370fe007bb674c6e52dbf02ca19481f174 /lib | |
parent | bc8c73c42a552fcc1d414c3475c64099f5a246d6 (diff) |
commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rdoc/ri/ri_cache.rb | 3 |
1 files changed, 2 insertions, 1 deletions
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" |