module RuboCop::AST::ConstantNode

def absolute?

Returns:
  • (Boolean) - if the constant starts with `::` (aka s(:cbase))
def absolute?
  return false unless namespace
  each_path.first.cbase_type?
end