class RuboCop::AST::IfNode
def else_branch
-
(nil)
- when there is no else branch -
(Node)
- the falsey branch node of the `if` node
Other tags:
- Note: - This is normalized for `unless` nodes.
def else_branch node_parts[2] end
(nil)
- when there is no else branch
(Node)
- the falsey branch node of the `if` node
def else_branch node_parts[2] end