D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
cpanel
/
ea-ruby27
/
root
/
usr
/
share
/
gems
/
doc
/
rack-2.2.10
/
ri
/
Rack
/
Builder
/
Filename :
load_file-c.ri
back
Copy
U:RDoc::AnyMethod[iI"load_file:ETI"Rack::Builder::load_file;TT:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"8Load the given file as a rackup file, treating the ;TI";contents as if specified inside a Rack::Builder block.;To:RDoc::Markup::BlankLine o; ; [I"9Treats the first comment at the beginning of a line ;TI"8that starts with a backslash as options similar to ;TI"-options passed on a rackup command line.;T@o; ; [I":Ignores content in the file after +__END__+, so that ;TI"8use of +__END__+ will not result in a syntax error.;T@o; ; [I"Example config.ru file:;T@o:RDoc::Markup::Verbatim; [I"$ cat config.ru ;TI" ;TI"#\ -p 9393 ;TI" ;TI"use Rack::ContentLength ;TI"require './app.rb' ;TI"run App;T:@format0: @fileI"lib/rack/builder.rb;T:0@omit_headings_from_table_of_contents_below000[ I"'(path, opts = Server::Options.new);T@%FI"Builder;TcRDoc::NormalClass00