Small project written as part of an application for a Ruby gig.