mirror of
https://github.com/pry/pry.git
synced 2022-11-09 12:35:05 -05:00
Fix Pry::Method#aliases tests on rbx -Xversion=19
This commit is contained in:
parent
c3c2a227db
commit
2f196c1f49
1 changed files with 2 additions and 2 deletions
|
@ -413,8 +413,8 @@ class Pry
|
||||||
name = @method.name
|
name = @method.name
|
||||||
|
|
||||||
alias_list = owner.instance_methods.combination(2).select do |pair|
|
alias_list = owner.instance_methods.combination(2).select do |pair|
|
||||||
owner.instance_method(pair.first) == owner.instance_method(pair.last) &&
|
pair.include?(name) &&
|
||||||
pair.include?(name)
|
owner.instance_method(pair.first) == owner.instance_method(pair.last)
|
||||||
end.flatten
|
end.flatten
|
||||||
alias_list.delete(name)
|
alias_list.delete(name)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue