Created
March 20, 2013 17:36
-
-
Save jemmons/5206693 to your computer and use it in GitHub Desktop.
Rackup without tabs
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 'bundler/setup' | |
Bundler.require(:default) | |
module Fred; module Barny; module Wilma; def self.betty; "hello, bedrock!" end end end end | |
app = proc do |env| [200, { 'Content-Type' => 'text/html' }, Fred::Barny::Wilma.betty()]; end | |
run app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment