mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
commit miss
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bc8c73c42a
commit
a366e19a12
1 changed files with 2 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue