Conditionals! No one likes them. They look innocent enough to start, but they attract more conditionals and grow into thorny nests of nested ifs. Blech-o! Fowler’s Refactoring offers a lot of ways of removing conditionals, but using Ruby gives us options that he did not have. So, instead of focusing on one of Fowler’s patterns this week, I’m going to focus on one I use. Let’s take a simple problem