Server IP : 192.158.238.246 / Your IP : 3.135.198.159 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 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"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