Skip to content

Commit

Permalink
Revert "(maint) - fix rubocop"
Browse files Browse the repository at this point in the history
This reverts commit e6b70be.
  • Loading branch information
jordanbreen28 committed Dec 5, 2023
1 parent 73e92aa commit 06d04ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/puppet-strings/yard/tags/overload_tag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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, ...)
return object.send(method_name, ...) if object.respond_to? method_name
def method_missing(method_name, *args, &block)
return object.send(method_name, *args, &block) if object.respond_to? method_name

super
end
Expand Down

0 comments on commit 06d04ba

Please sign in to comment.