what about using ```case``` when rubyfying