git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
dave 2003-12-16 20:50:44 +00:00
Родитель bc8c73c42a
Коммит a366e19a12
1 изменённых файлов: 2 добавлений и 1 удалений

Просмотреть файл

@ -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"