AlkantarClanX12
Current Path : /proc/self/root/opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.10/ri/Rack/Server/ |
Current File : //proc/self/root/opt/cpanel/ea-ruby27/root/usr/share/gems/doc/rack-2.2.10/ri/Rack/Server/start-c.ri |
U:RDoc::AnyMethod[iI" start:ETI"Rack::Server::start;TT:publico:RDoc::Markup::Document:@parts[ o:RDoc::Markup::Paragraph; [I"MStart a new rack server (like running rackup). This will parse ARGV and ;TI"Jprovide standard ARGV rackup options, defaulting to load 'config.ru'.;To:RDoc::Markup::BlankLine o; ; [I"NProviding an options hash will prevent ARGV parsing and will not include ;TI"any default options.;T@o; ; [I"JThis method can be used to very easily launch a CGI application, for ;TI" example:;T@o:RDoc::Markup::Verbatim; [I"Rack::Server.start( ;TI" :app => lambda do |e| ;TI"A [200, {'Content-Type' => 'text/html'}, ['hello world']] ;TI" end, ;TI" :server => 'cgi' ;TI") ;T:@format0o; ; [I"MFurther options available here are documented on Rack::Server#initialize;T: @fileI"lib/rack/server.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(options = nil);T@#FI"Server;TcRDoc::NormalClass00