We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 73e92aa + 06d04ba commit 000e3a6Copy full SHA for 000e3a6
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, ...)
79
- 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
80
81
super
82
end
0 commit comments