Summary using rubyish pseudocode. Ruby case statements are what I’ve always wanted in other languages. Thanks to Brian Morearty.