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

Member predicate IfModifierExpr::getBody

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

foo if bar
Stmt getBody()