class RuboCop::AST::ModuleNode

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

def body

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

def identifier

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