My own ruby version of http://codekata.pragprog.com/2007/01/kata_eight_conf.html