class RuboCop::AST::RescueNode

def else_branch

Returns:
  • (nil) - if the exception handling statement does not have an else branch.
  • (Node) - the else branch node of the exception handling statement
def else_branch
  node_parts[-1]
end