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

Member predicate ModuleDeclaration::hasGlobalScope

Holds if the module/class name uses the scope resolution operator to access the global scope, as in this example:

class ::Foo
end
predicate hasGlobalScope()