Medium Ruby

Use Ruby 3+ features

Rule Description

Use pattern matching, endless methods (`def x = ...`), hash shorthand `{x:}`, numbered params `_1`. Ruby 3.2+.

Included in Rulesets

Rails Standards
52 rules • 1 standard
View
Ruby Style Guide
33 rules • 1 standard
View
Code Review Standards
214 rules • 0 standards
View

Add This Rule

Sign in to add this rule to your workspace

Sign in with GitHub

Details

Severity
Medium
Category
Ruby
Used in
3 rulesets