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

Member predicate UnlessModifierExpr::getBody

Gets the statement that is conditionally evaluated. In the following example, the result is the Expr for foo.

foo unless bar
Stmt getBody()