class RuboCop::AST::CasgnNode

def namespace

Returns:
  • (Node, nil) - the node associated with the scope (e.g. cbase, const, ...)
def namespace
  node_parts[0]
end