doc: cleanup rdoc for Rainbows module
[rainbows.git] / t / simple-http_XEpollThreadPool.ru
blob36eb12733333d1711d69ebc58c793baf2373f26b
1 use Rack::ContentLength
2 use Rack::ContentType
3 run lambda { |env|
4   if env['rack.multithread'] == true &&
5     env['rainbows.model'] == :XEpollThreadPool
6     [ 200, {}, [ Thread.current.inspect << "\n" ] ]
7   else
8     raise env.inspect
9   end