?
The following syntax is used for the ruby case statement.
The following syntax is used for the ruby case statement.
case expression
when expression , expression ... then
code ...
else
code
end
case expression
when expression , expression ... then
code ...
else
code
end
Join the Discussion
Login to post a comment or share your explanation.
Login