Inspectopedia Help

Duplicate keyword parameter

Reports duplicate keyword parameters in methods, blocks, and proc types. Only the first declaration of each keyword parameter is recognized; all other declarations are ignored.

Example:

class Example # Duplicate keyword parameter def call: (keyword: untyped, keyword: untyped) -> untyped end

Inspection Details

By default bundled with:

Qodana for Ruby 2024.1, RubyMine 2024.1,

Can be installed with plugin:

Ruby, 241.SNAPSHOT

Last modified: 29 April 2024