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

Member predicate Variable::getDeclaringScope

Gets the scope this variable is declared in.

Scope getDeclaringScope()