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
-
(Node, nil)
- the body of the class
def body node_parts[1] end
def identifier
-
(Node)
- the identifier of the class
def identifier node_parts[0] end