Class

Rack::Cascade

Inheritance
< Object

Rack::Cascade tries an request on several apps, and returns the first response that is not 404 (or in a list of configurable status codes).

Attributes

Name Visibility R/W Description
apps public R

Methods

Class

Visibility Signature
public new (apps, catch=404)

Instance

Visibility Signature
public << (app)
public add (app)
public call (env)
public include? (app)

Class Method Detail

new(apps, catch=404)

Instance Method Detail

<<(app)

Alias for add

add(app)

call(env)

include?(app)