Created
September 15, 2009 17:35
-
-
Save vangberg/187475 to your computer and use it in GitHub Desktop.
This file contains 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 'sinatra' | |
class A < Sinatra::Base | |
get('/') { "boo!" } | |
end | |
class B < Sinatra::Base | |
get('/') { "boo!" } | |
end | |
class C < Sinatra::Base | |
get('/') { "boo!" } | |
end |
This file contains 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 'all' | |
map('/a') { run A } | |
map('/b') { run B } | |
map('/c') { run C } |
This file contains 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 'one' | |
map('/a') { run A } |
This file contains 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 'sinatra' | |
class A < Sinatra::Base | |
get('/') { "boo!" } | |
end |
This file contains 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
config-one / one: RSS 22M | |
config-all / all: RSS 23M |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment