D7net
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
opt
/
alt
/
ruby18
/
lib64
/
ruby
/
gems
/
1.8
/
doc
/
rack-1.6.1
/
ri
/
Rack
/
Cascade
/
Filename :
cdesc-Cascade.yaml
back
Copy
--- !ruby/object:RI::ClassDescription attributes: - !ruby/object:RI::Attribute comment: name: apps rw: R class_methods: - !ruby/object:RI::MethodSummary name: new comment: - !ruby/struct:SM::Flow::P body: Rack::Cascade tries a request on several apps, and returns the first response that is not 404 or 405 (or in a list of configurable status codes). constants: - !ruby/object:RI::Constant comment: name: NotFound value: "[404, {CONTENT_TYPE => \"text/plain\"}, []]" full_name: Rack::Cascade includes: [] instance_methods: - !ruby/object:RI::MethodSummary name: "<<" - !ruby/object:RI::MethodSummary name: add - !ruby/object:RI::MethodSummary name: call - !ruby/object:RI::MethodSummary name: include? name: Cascade superclass: Object