class Minitest::Keyword::OverloadedArgumentError
Raised if someone tries to pass both the regular arguments and the keyword arguments
Public Class Methods
new(method_name, argument_name)
click to toggle source
Calls superclass method
# File lib/minitest/keyword.rb, line 26 def initialize(method_name, argument_name) super('Cannot specify keyword argument and pass regular argument to ' \ "#{method_name} for argument #{argument_name}") end