Inspectopedia Help

Unexpected argument in method call

Reports unexpected parameter values in method calls. Some method calls expect specific symbols, strings, or other constants as arguments. For example, Object#send expects a symbol representing a method name as the first argument. If something else is passed as the first argument, a warning arises.

Inspection Details

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3


Ruby, 233.SNAPSHOT

Last modified: 13 July 2023