AlkantarClanX12
Current Path : /opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Server/ |
Current File : //opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Server/start-c.ri |
U:RDoc::AnyMethod[iI" start:EFI"Rack::Server::start;FT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"LStart a new rack server (like running rackup). This will parse ARGV and;FI"Jprovide standard ARGV rackup options, defaulting to load 'config.ru'.;Fo:RDoc::Markup::BlankLine o; ; [I"MProviding an options hash will prevent ARGV parsing and will not include;FI"any default options.;F@o; ; [I"IThis method can be used to very easily launch a CGI application, for;FI" example:;F@o:RDoc::Markup::Verbatim; [I"Rack::Server.start( ;FI" :app => lambda do |e| ;FI"A [200, {'Content-Type' => 'text/html'}, ['hello world']] ;FI" end, ;FI" :server => 'cgi' ;FI") ;Fo; ; [I"MFurther options available here are documented on Rack::Server#initialize;F: @file000[ I"(options = nil);FI"lib/rack/server.rb;F