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

Member predicate Variable::getDeclaringScope

Gets the scope this variable is declared in.

Scope getDeclaringScope()