Monthly Archives: May 2009

the one-line sinatra app

The five-line sinatra app on http://www.sinatrarb.com/ is pretty damn impressive: require ‘rubygems’ require ‘sinatra’ get ‘/hi’ do “Hello World!” end I can do four lines better than that, though: require ‘sinatra’ So what does that get you? batkin:cholla ben$ ruby … Continue reading

Posted in uncategorized | Tagged , | Comments Off