Server IP : 66.29.132.124 / Your IP : 3.137.162.107 Web Server : LiteSpeed System : Linux business141.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64 User : wavevlvu ( 1524) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Builder/ |
Upload File : |
U:RDoc::AnyMethod[iI"run:ETI"Rack::Builder#run;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"LTakes a block or argument that is an object that responds to #call and ;TI"returns a Rack response.;To:RDoc::Markup::BlankLine o; ; [I"You can use a block:;T@o:RDoc::Markup::Verbatim; [I"run do |env| ;TI"C [200, { "content-type" => "text/plain" }, ["Hello World!"]] ;TI" end ;T:@format0o; ; [I"#You can also provide a lambda:;T@o;; [I"Lrun lambda { |env| [200, { "content-type" => "text/plain" }, ["OK"]] } ;T; 0o; ; [I"+You can also provide a class instance:;T@o;; [I"class Heartbeat ;TI" def call(env) ;TI": [200, { "content-type" => "text/plain" }, ["OK"]] ;TI" end ;TI" end ;TI" ;TI"run Heartbeat.new;T; 0: @fileI"lib/rack/builder.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(app = nil, &block);T@*FI"Builder;TcRDoc::NormalClass00