def required_repeated_param(type, name)
      internal_param(type, name, true)
      raise ArgumentError, _('A required repeated parameter cannot be added after an optional parameter') if @min != @max
      @min += 1
      @max = :default
    end
def required_repeated_param(type, name)
      internal_param(type, name, true)
      raise ArgumentError, _('A required repeated parameter cannot be added after an optional parameter') if @min != @max
      @min += 1
      @max = :default
    end
Defines a repeated positional parameter with _type_ and _name_ that may occur 1 to "infinite" number of times.
 It may only appear last or just before a block parameter.

 @param type [String] The type specification for the parameter.
 @param name [Symbol] The name of the parameter. This is primarily used
   for error message output and does not have to match an implementation
   method parameter.
 @return [Void]

 @api public