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

Member predicate TernaryIfExpr::getBranch

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

Stmt getBranch(boolean cond)