SinatraToRuby Conversion Exercise