D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
Builder
/
Filename :
warmup-i.ri
back
Copy
U:RDoc::AnyMethod[iI"warmup:ETI"Rack::Builder#warmup;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"[Takes a lambda or block that is used to warm-up the application. This block is called ;TI"7before the Rack application is returned by to_app.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"warmup do |app| ;TI"+ client = Rack::MockRequest.new(app) ;TI" client.get('/') ;TI" end ;TI" ;TI"use SomeMiddleware ;TI"run MyApp;T:@format0: @fileI"lib/rack/builder.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(prc = nil, &block);T@FI"Builder;TcRDoc::NormalClass00