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

Available in:

Qodana for Ruby 2023.3, RubyMine 2023.3

Plugin:

Ruby, 233.SNAPSHOT

Last modified: 13 July 2023