diff options
author | Ryan Bigg <radarlistener@gmail.com> | 2011-03-31 15:09:31 +1100 |
---|---|---|
committer | Ryan Bigg <radarlistener@gmail.com> | 2011-03-31 15:09:31 +1100 |
commit | ee1285f959eb77e450997676aee5026280d81bde (patch) | |
tree | 89e42cc3864007086ac28e4ad63cceda9c0f66d0 | |
parent | 31be2b77045b5167960b8644a78384ee002429a3 (diff) | |
download | rack-ee1285f959eb77e450997676aee5026280d81bde.tar.gz |
Need to call run app for Builder example to work
-rw-r--r-- | lib/rack/builder.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/rack/builder.rb b/lib/rack/builder.rb index 945a6718..18cdc35b 100644 --- a/lib/rack/builder.rb +++ b/lib/rack/builder.rb @@ -23,6 +23,8 @@ module Rack # lambda { |env| [200, {'Content-Type' => 'text/plain'}, 'OK'] } # end # + # run app + # # +use+ adds a middleware to the stack, +run+ dispatches to an application. # You can use +map+ to construct a Rack::URLMap in a convenient way. |