Skip to content

Fix usages of double-splat with keyword arguments before Ruby 2.6 #365

@kke

Description

@kke

Cop disabled in #364

Ruby 2.6 will give a deprecation warning if you use them together like:

def foo(bar: nil, **options)

as described here: https://bugs.ruby-lang.org/issues/14183

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions