summary refs log tree commit
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2011-03-31 15:09:31 +1100
committerRyan Bigg <radarlistener@gmail.com>2011-03-31 15:09:31 +1100
commitee1285f959eb77e450997676aee5026280d81bde (patch)
tree89e42cc3864007086ac28e4ad63cceda9c0f66d0
parent31be2b77045b5167960b8644a78384ee002429a3 (diff)
downloadrack-ee1285f959eb77e450997676aee5026280d81bde.tar.gz
Need to call run app for Builder example to work
-rw-r--r--lib/rack/builder.rb2
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.