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

Member predicate TernaryIfExpr::getCondition

Gets the condition expression. For example, the result is foo in the following:

if foo
  bar = 1
end
Expr getCondition()