From e6b70be9e7a4eaaf50d7eaf8d8172649b6350dcb Mon Sep 17 00:00:00 2001 From: jordanbreen28 Date: Thu, 27 Jul 2023 09:48:16 +0100 Subject: [PATCH] (maint) - fix rubocop --- lib/puppet-strings/yard/tags/overload_tag.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/puppet-strings/yard/tags/overload_tag.rb b/lib/puppet-strings/yard/tags/overload_tag.rb index 8ae29425..2459e0cc 100644 --- a/lib/puppet-strings/yard/tags/overload_tag.rb +++ b/lib/puppet-strings/yard/tags/overload_tag.rb @@ -75,8 +75,8 @@ def object=(value) # @param [Array] args The args passed to the method. # @param block The block passed to the method. # @return Returns what the method call on the object would return. - def method_missing(method_name, *args, &block) - return object.send(method_name, *args, &block) if object.respond_to? method_name + def method_missing(method_name, ...) + return object.send(method_name, ...) if object.respond_to? method_name super end