We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df34409 + e6b70be commit e4525f7Copy full SHA for e4525f7
lib/puppet-strings/yard/tags/overload_tag.rb
@@ -75,8 +75,8 @@ def object=(value)
75
# @param [Array] args The args passed to the method.
76
# @param block The block passed to the method.
77
# @return Returns what the method call on the object would return.
78
- def method_missing(method_name, *args, &block)
79
- 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
80
81
super
82
end
0 commit comments