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

Member predicate ConditionalExpr::getBranch

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

Stmt getBranch(boolean cond)