whoami7 - Manager
:
/
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
gems
/
1.8
/
doc
/
rack-1.6.1
/
ri
/
Rack
/
URLMap
/
Upload File:
files >> //opt/alt/ruby18/lib64/ruby/gems/1.8/doc/rack-1.6.1/ri/Rack/URLMap/cdesc-URLMap.yaml
--- !ruby/object:RI::ClassDescription attributes: [] class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Rack::URLMap takes a hash mapping urls or paths to apps, and dispatches accordingly. Support for HTTP/1.1 host names exists if the URLs start with <tt>http://</tt> or <tt>https://</tt>. - !ruby/struct:SM::Flow::P body: URLMap modifies the SCRIPT_NAME and PATH_INFO such that the part relevant for dispatch is in the SCRIPT_NAME, and the rest in the PATH_INFO. This should be taken care of when you need to reconstruct the URL in order to create links. - !ruby/struct:SM::Flow::P body: URLMap dispatches in such a way that the longest paths are tried first, since they are most specific. constants: - !ruby/object:RI::Constant comment: name: NEGATIVE_INFINITY value: -1.0 / 0.0 - !ruby/object:RI::Constant comment: name: INFINITY value: 1.0 / 0.0 full_name: Rack::URLMap includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: remap name: URLMap superclass: Object
Copyright ©2021 || Defacer Indonesia