CodeQL library for Ruby
codeql/ruby-all 2.0.4-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()