CodeQL library for Ruby
codeql/ruby-all 5.1.2 (changelog, source)
Search

Member predicate ConstantAccess::hasGlobalScope

Holds if the access uses the scope resolution operator to refer to the global scope, as in this example:

::MESSAGE
predicate hasGlobalScope()