Exercise in creating a config parser in ruby