Created
January 22, 2010 05:21
-
-
Save jpoz/283529 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require 'rubygems' | |
| require 'sinatra' | |
| get '/' do | |
| 'Welcome to my great site' | |
| end | |
| get '/what_time_is_it' do | |
| time_right_now = Time.now.to_s | |
| 'The current time is ' + time_right_now | |
| end | |
| get '/super/secret/route' do | |
| 'How did you get here?' | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment