class RuboCop::AST::ConstNode

def namespace

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