class RuboCop::Cop::Style::IfWithSemicolon

Checks for uses of semicolon in if statements.

@example

# bad
result = if some_condition; something else another_thing end

# good
result = some_condition ? something : another_thing