Solution to a ruby challenge at a Constant Contact meetup