One item or many? Array() lets you have both

Sometimes you need to write a method accepts either a single item, or a list of items, and treats them the same way. You might be tempted to check the argument type, or force callers to pass in a list... but I've got a better way. Read more

How to learn Enumerable really really ridiculously good

Enumerable. It's one of the most important modules in Ruby. You use it all day, every day, to filter lists according to some criteria, query lists about their contents, divide them into groups... and a whole lot more. How do you learn all that this powerful module has to offer? Read more