Fix ruby 2.7 keyword arguments deprecation

Similar to https://github.com/grpc/grpc/pull/22915
pull/23419/head
miyucy 5 years ago committed by GitHub
parent 3201d7f7bf
commit f9111b2a82
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/ruby/lib/grpc/generic/interceptors.rb

@ -172,7 +172,7 @@ module GRPC
i = @interceptors.pop
return yield unless i
i.send(type, args) do
i.send(type, **args) do
if @interceptors.any?
intercept!(type, args) do
yield

Loading…
Cancel
Save