File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/puma-6.1.0/ri/Puma/Launcher/new-c.ri
U:RDoc::AnyMethod[iI"new:ETI"Puma::Launcher::new;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"$Returns an instance of Launcher;To:RDoc::Markup::BlankLine o;
; [I"J+conf+ A Puma::Configuration object indicating how to run the server.;T@o;
; [I"K+launcher_args+ A Hash that currently has one required key `:events`, ;TI"Othis is expected to hold an object similar to an `Puma::LogWriter.stdio`, ;TI"Lthis object will be responsible for broadcasting Puma's internal state ;TI"Hto a logging destination. An optional key `:argv` can be supplied, ;TI"Jthis should be an array of strings, these arguments are re-used when ;TI" restarting the puma server.;T@o;
; [I"Examples:;T@o:RDoc::Markup::Verbatim; [I"5conf = Puma::Configuration.new do |user_config|
;TI"! user_config.threads 1, 10
;TI" user_config.app do |env|
;TI"$ [200, {}, ["hello world"]]
;TI" end
;TI" end
;TI"DPuma::Launcher.new(conf, log_writer: Puma::LogWriter.stdio).run;T:@format0:
@fileI"lib/puma/launcher.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(conf, launcher_args={});T@&FI"
Launcher;TcRDoc::NormalClass00