Skip to content

Commit

Permalink
Merge pull request #360 from puppetlabs/maint-fix_rubocop
Browse files Browse the repository at this point in the history
(maint) - fix rubocop
  • Loading branch information
GSPatton authored Jul 27, 2023
2 parents df34409 + e6b70be commit e4525f7
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 e4525f7

Please sign in to comment.