D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
proc
/
self
/
root
/
opt
/
alt
/
ruby20
/
lib64
/
ruby
/
gems
/
2.0.0
/
doc
/
rack-1.6.4
/
ri
/
Rack
/
URLMap
/
Filename :
cdesc-URLMap.ri
back
Copy
U:RDoc::NormalClass[iI"URLMap:EFI"Rack::URLMap;FI"Object;To:RDoc::Markup::Document:@parts[o;;[ o:RDoc::Markup::Paragraph;[I"BRack::URLMap takes a hash mapping urls or paths to apps, and ;TI"Hdispatches accordingly. Support for HTTP/1.1 host names exists if ;TI"?the URLs start with <tt>http://</tt> or <tt>https://</tt>.;To:RDoc::Markup::BlankLine o; ;[ I"FURLMap modifies the SCRIPT_NAME and PATH_INFO such that the part ;TI"Frelevant for dispatch is in the SCRIPT_NAME, and the rest in the ;TI"?PATH_INFO. This should be taken care of when you need to ;TI"2reconstruct the URL in order to create links.;T@o; ;[I"FURLMap dispatches in such a way that the longest paths are tried ;TI")first, since they are most specific.;T: @fileI"lib/rack/urlmap.rb;T:0@omit_headings_from_table_of_contents_below0;0;0[ [U:RDoc::Constant[i I"NEGATIVE_INFINITY;FI"$Rack::URLMap::NEGATIVE_INFINITY;F00o;;[ ;@;0@@cRDoc::NormalClass0U; [i I" INFINITY;FI"Rack::URLMap::INFINITY;F00o;;[ ;@;0@@@'0[ [[I" class;T[[:public[[I"new;TI"lib/rack/urlmap.rb;T[:protected[ [:private[ [I" instance;T[[;[[I" call;F@7[I" remap;F@7[;[ [;[[I" casecmp?;F@7[ [U:RDoc::Context::Section[i 0o;;[ ;0;0[@I" Rack;FcRDoc::NormalModule