Revision
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

Diff

Added: ControlTower/trunk/sample/sinatra_hello.ru (0 => 4382)


--- 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