Ruby logoRuby/
RB-ST1012

Braces not found around hash in method callRB-ST1012

Minor severityMinor
Anti-pattern categoryAnti-pattern

Braces should be around the last parameter in a method call if the last parameter is a hash.

Bad practice

some_method(x, y, a: 1, b: 2)
some_method(x, y, {a: 1, b: 2})