class RuboCop::AST::IfNode
def elsif_conditional?
-
(Boolean)
- whether the `if` node has at least one `elsif` branch
def elsif_conditional? else_branch&.if_type? && else_branch.elsif? end
(Boolean)
- whether the `if` node has at least one `elsif` branch
def elsif_conditional? else_branch&.if_type? && else_branch.elsif? end