Permalink
Browse files

Rack time app

  • Loading branch information...
1 parent a9c1e91 commit 5636dc178d6b17471b0a85884b1a30c6d1aaf939 @jcarlosgarcia committed Feb 25, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 rack_builder/config.ru
View
@@ -0,0 +1,2 @@
+rack_time = Proc.new { |env| [200, {"Content-Type" => "text/plain"}, ["Hello. The time is #{Time.now}"]]}
+Rack::Handler::WEBrick.run rack_time, :Port => 9292

0 comments on commit 5636dc1

Please sign in to comment.