Member predicate WhenClause::getPattern
Gets the n
th pattern (or condition) in this case-when expression. In the
following example, the 0th pattern is x
, the 1st pattern is y
, and the
2nd pattern is z
.
case foo
when x, y, z
puts 'x/y/z'
end
Expr getPattern(int n)