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

Predicate nodeGetEnclosingCallable

Gets the callable in which this node occurs.

Import path

import codeql.ruby.dataflow.internal.DataFlowPrivate
DataFlowCallable nodeGetEnclosingCallable(Node n)