Skip to content

Commit

Permalink
(maint) - fix rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanbreen28 committed Jul 27, 2023
1 parent df34409 commit e6b70be
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, *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
Expand Down

0 comments on commit e6b70be

Please sign in to comment.