Don't forward options if none are given.

This commit is contained in:
Markus Reiter 2021-04-08 00:09:10 +02:00
parent 050ff9913f
commit c8997a0d8b
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

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