X7ROOT File Manager
Current Path:
/opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Builder
opt
/
alt
/
ruby26
/
lib64
/
ruby
/
gems
/
2.6.0
/
doc
/
rack-3.0.8
/
ri
/
Rack
/
Builder
/
ðŸ“
..
📄
app-c.ri
(391 B)
📄
call-i.ri
(510 B)
📄
cdesc-Builder.ri
(1.8 KB)
📄
freeze_app-i.ri
(393 B)
📄
generate_map-i.ri
(417 B)
📄
load_file-c.ri
(738 B)
📄
map-i.ri
(1.55 KB)
📄
new-c.ri
(501 B)
📄
new_from_string-c.ri
(450 B)
📄
parse_file-c.ri
(1.3 KB)
📄
run-i.ri
(959 B)
📄
to_app-i.ri
(333 B)
📄
use-i.ri
(986 B)
📄
warmup-i.ri
(659 B)
Editing: parse_file-c.ri
U:RDoc::AnyMethod[iI"parse_file:ETI"Rack::Builder::parse_file;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I";Parse the given config file to get a Rack application.;To:RDoc::Markup::BlankLine o; ; [I":If the config file ends in +.ru+, it is treated as a ;TI"8rackup file and the contents will be treated as if ;TI",specified inside a Rack::Builder block.;T@o; ; [I"5If the config file does not end in +.ru+, it is ;TI"9required and Rack will use the basename of the file ;TI"Ato guess which constant will be the Rack application to run.;T@o; ; [I"Examples:;T@o:RDoc::Markup::Verbatim; [I"+Rack::Builder.parse_file('config.ru') ;TI"6# Rack application built using Rack::Builder.new ;TI" ;TI"(Rack::Builder.parse_file('app.rb') ;TI"8# requires app.rb, which can be anywhere in Ruby's ;TI"8# load path. After requiring, assumes App constant ;TI"!# contains Rack application ;TI" ;TI"-Rack::Builder.parse_file('./my_app.rb') ;TI"4# requires ./my_app.rb, which should be in the ;TI"6# process's current directory. After requiring, ;TI"7# assumes MyApp constant contains Rack application;T:@format0: @fileI"lib/rack/builder.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(path);T@*FI"Builder;TcRDoc::NormalClass00
Upload File
Create Folder