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

Member predicate IfModifierExpr::getBranch

Gets the branch of this conditional expression that is taken when the condition evaluates to cond, if any.

Stmt getBranch(boolean cond)