PHP 8.2.31
Preview: run-i.ri Size: 688 B
//proc/thread-self/root/opt/alt/ruby19/lib64/ruby/gems/1.9.1/doc/rack-1.6.4/ri/Rack/Builder/run-i.ri

U:RDoc::AnyMethod[iI"run:EFI"Rack::Builder#run;FF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"\Takes an argument that is an object that responds to #call and returns a Rack response.;FI"2The simplest form of this is a lambda object:;Fo:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"Lrun lambda { |env| [200, { "Content-Type" => "text/plain" }, ["OK"]] }
;Fo;
;	[I"(However this could also be a class:;F@o;;	[I"class Heartbeat
;FI"  def self.call(env)
;FI":   [200, { "Content-Type" => "text/plain" }, ["OK"]]
;FI"
 end
;FI"	end
;FI"
;FI"run Heartbeat;F:
@file000[I"
(app);FI"lib/rack/builder.rb;F

Directory Contents

Dirs: 0 × Files: 11

Name Size Perms Modified Actions
177 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
156 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
1.22 KB lrw-r--r-- 2019-12-05 22:59:32
Edit Download
738 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
176 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
207 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
200 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
688 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
157 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
891 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download
485 B lrw-r--r-- 2019-12-05 22:59:32
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).