class RuboCop::AST::ResbodyNode

def exception_variable

Returns:
  • (Node, nil) - The exception variable of the `resbody`.
def exception_variable
  node_parts[1]
end