codeql/ruby-all
4.1.2-dev
For other CodeQL resources, including tutorials and examples, see the CodeQL documentation
.
Gets the expression being compared, if any. For example, foo in the following example.
foo
case foo when 0 puts 'zero' when 1 puts 'one' end
There is no result for the following example:
case when a then 0 when b then 1 else 2 end
Expr getValue()