Created
March 11, 2011 00:01
-
-
Save dirk/865219 to your computer and use it in GitHub Desktop.
Sinatra in just two lines of code.
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
# This is a light-hearted riposte to rkh's great almost-sinatra (https://github.com/rkh/almost-sinatra) project. | |
%w{rubygems sinatra}.each {|g| require g } | |
get '/' do '<html><head><title>Definitely Sinatra</title></head><body>Hello World</body></html>'; end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment