qtil
advanced-security/qtil-ruby 0.0.2
Search

Member predicate InClause::getCondition

Gets the pattern guard condition in this case-in expression. In the following example, there are two pattern guard conditions x > 10 and x < 0.

case foo
in [ x ] if x > 10 then ...
in [ x ] unless x < 0 then ...
end
Expr getCondition()