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

Member predicate Variable::getDeclaringScope

Gets the scope this variable is declared in.

Scope getDeclaringScope()