ITP - flow control - case statements - refactored with no case argument

You don't necessarily have to give case an argument either. You could do
the following.

a = 5

answer = case
  when a == 5
    "a is 5"
  when a == 6
    "a is 6"
  else
    "a is neither 5, nor 6"
  end

puts answer