First things first, standardize spacing to idiomatic Ruby: replaced tabs
with 2 spaces per indent level.