In case you want to return nil
from a case body, it is better to return it explicitly. Otherwise the intent of the
code may seem ambiguous.
case condition
in [a]
do_something
in [a, b]
end
case condition
in [a]
do_something
in [a, b]
nil
end