Uname: Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 162.213.251.212
Your Ip: 3.147.72.31
User: allssztx (535) | Group: allssztx (533)
Safe Mode: OFF
Disable Function:
NONE

name : cdesc-Builder.ri
U:RDoc::NormalClass[iI"Builder:ETI"Rack::Builder;TI"Object;To:RDoc::Markup::Document:@parts[o;;[o:RDoc::Markup::Paragraph;[I"HRack::Builder implements a small DSL to iteratively construct Rack ;TI"applications.;To:RDoc::Markup::BlankLineo;	;[I"
Example:;T@o:RDoc::Markup::Verbatim;[I"require 'rack/lobster'
;TI" app = Rack::Builder.new do
;TI"  use Rack::CommonLogger
;TI"   use Rack::ShowExceptions
;TI"  map "/lobster" do
;TI"    use Rack::Lint
;TI"    run Rack::Lobster.new
;TI"  end
;TI"	end
;TI"
;TI"
run app
;T:@format0o;	;[I"Or;T@o;;[I" app = Rack::Builder.app do
;TI"  use Rack::CommonLogger
;TI"L  run lambda { |env| [200, {'Content-Type' => 'text/plain'}, ['OK']] }
;TI"	end
;TI"
;TI"
run app
;T;0o;	;[I"M+use+ adds middleware to the stack, +run+ dispatches to an application. ;TI"GYou can use +map+ to construct a Rack::URLMap in a convenient way.;T:
@fileI"lib/rack/builder.rb;T:0@omit_headings_from_table_of_contents_below0;
0;0[[[[[I"
class;T[[:public[	[I"app;FI"lib/rack/builder.rb;T[I"new;T@>[I"new_from_string;F@>[I"parse_file;F@>[:protected[[:private[[I"
instance;T[[;[[I"	call;F@>[I"map;F@>[I"run;F@>[I"to_app;F@>[I"use;F@>[I"warmup;F@>[;[[;[[I"generate_map;F@>[[U:RDoc::Context::Section[i0o;;[;
0;0[@2I"	Rack;FcRDoc::NormalModule
© 2025 GrazzMean-Shell