class RuboCop::Cop::Style::EvenOdd

Checks for places where ‘Integer#even?` or `Integer#odd?` can be used.

@example

# bad
if x % 2 == 0
end

# good
if x.even?
end