File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/puma-6.1.0/ri/Puma/DSL/app-i.ri
U:RDoc::AnyMethod[iI"app:ETI"Puma::DSL#app;TF:publico:RDoc::Markup::Document:@parts[
o:RDoc::Markup::Paragraph; [I"EUse an object or block as the rack application. This allows the ;TI"5configuration file to be the application itself.;To:RDoc::Markup::BlankLine o;
; [I"
@example;To:RDoc::Markup::Verbatim; [I"app do |env|
;TI" body = 'Hello, World!'
;TI"
;TI" [
;TI" 200,
;TI" {
;TI"+ 'Content-Type' => 'text/plain',
;TI"0 'Content-Length' => body.length.to_s
;TI" },
;TI" [body]
;TI" ]
;TI" end
;T:@format0o;
; [I"!@see Puma::Configuration#app;T:
@fileI"lib/puma/dsl.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(obj=nil, &block);T@$FI"DSL;TcRDoc::NormalClass00