Medium
Ruby
Explicit return values in methods
Official
Rule Description
Return meaningful values or `self`. Predicates (`?`) return booleans. Bang methods (`!`) mutate or raise.
Add This Rule
Sign in to add this rule to your workspace
Sign in with GitHubDetails
- Severity
- Medium
- Category
- Ruby
- Used in
- 3 rulesets