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

Member predicate InClause::getPattern

Gets the pattern in this case-in expression. In the following example, the pattern is Point{ x:, y: }.

case foo
in Point{ x:, y: }
  x + y
end
CasePattern getPattern()