Merge pull request #11063 from reitermarkus/url-do-version

Don't forward options if none are given.
This commit is contained in:
Markus Reiter 2021-04-08 00:32:45 +02:00 committed by GitHub
commit f1e9f8c46e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -128,9 +128,9 @@ class URL < Delegator
private :url
# @api public
def method_missing(method, *args, **options, &block)
def method_missing(method, *args, &block)
if @dsl.respond_to?(method)
T.unsafe(@dsl).public_send(method, *args, **options, &block)
T.unsafe(@dsl).public_send(method, *args, &block)
else
super
end