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

Predicate Flow::ConsistencyChecks::closureMustHaveBody

Holds if closure expression ce has no callable body, as described by msg.

Import path

import codeql.dataflow.VariableCapture
predicate closureMustHaveBody(ClosureExpr ce, string msg)