class RuboCop::AST::EnsureNode

to all ‘ensure` nodes within RuboCop.
node when the builder constructs the AST, making its methods available
A node extension for `ensure` nodes. This will be used in place of a plain

def body

Returns:
  • (Node, nil) - The body of the `ensure`.
def body
  node_parts[1]
end