D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
gems
/
1.8
/
doc
/
rack-1.6.1
/
ri
/
Rack
/
Builder
/
Filename :
warmup-i.yaml
back
Copy
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Takes a lambda or block that is used to warm-up the application. - !ruby/struct:SM::Flow::VERB body: " warmup do |app|\n client = Rack::MockRequest.new(app)\n client.get('/')\n end\n\n use SomeMiddleware\n run MyApp\n" full_name: Rack::Builder#warmup is_singleton: false name: warmup params: (prc=nil, &block) visibility: public