mirror of
https://github.com/github/codeql.git
synced 2026-04-06 23:54:11 +02:00
7 lines
103 B
Ruby
7 lines
103 B
Ruby
def if_in_case
|
|
case x1
|
|
when 1 then (if x2 then puts "x2" end)
|
|
when 2 then puts "2"
|
|
end
|
|
end
|