25 Jul
2010
25 Jul
'10
3:19 a.m.
Revision: 4382 http://trac.macosforge.org/projects/ruby/changeset/4382 Author: lsansonetti@apple.com Date: 2010-07-24 20:19:02 -0700 (Sat, 24 Jul 2010) Log Message: ----------- added sinatra hello world Added Paths: ----------- ControlTower/trunk/sample/sinatra_hello.ru Added: ControlTower/trunk/sample/sinatra_hello.ru =================================================================== --- ControlTower/trunk/sample/sinatra_hello.ru (rev 0) +++ ControlTower/trunk/sample/sinatra_hello.ru 2010-07-25 03:19:02 UTC (rev 4382) @@ -0,0 +1,10 @@ +require 'rubygems' +require 'sinatra/base' + +class MyApp < Sinatra::Base + get '/' do + 'Hello world!' + end +end + +run MyApp.new