Inspectopedia
 
2024.3

Unexpected argument in method call

Warning
New
Last modified: 03 December 2024

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.