1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Use bind_call instead of bind and call

This commit is contained in:
Kazuhiro NISHIYAMA 2019-10-11 13:50:27 +09:00
parent ddfb306e8e
commit d6c80876b7
No known key found for this signature in database
GPG key ID: 262ED8DBB4222F7A
2 changed files with 2 additions and 2 deletions

View file

@ -336,7 +336,7 @@ module URI
@@to_s = Kernel.instance_method(:to_s)
def inspect
@@to_s.bind(self).call
@@to_s.bind_call(self)
end
private

View file

@ -91,7 +91,7 @@ module URI
@@to_s = Kernel.instance_method(:to_s)
def inspect
@@to_s.bind(self).call
@@to_s.bind_call(self)
end
private