The Ruby ‘case’ expression is a powerful beast: a multiway ‘if’ on steroids.
Programming Ruby
No joke, I almost leapt off the couch when I first saw these in action.