class RuboCop::Cop::Style::RedundantParentheses

Checks for redundant parentheses.

@example

# bad
(x) if ((y.z).nil?)

# good
x if y.z.nil?