class RuboCop::AST::SelfClassNode

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

def body

Returns:
  • (Node, nil) - the body of the class
def body
  node_parts[1]
end

def identifier

Returns:
  • (Node) - the identifier of the class
def identifier
  node_parts[0]
end