Method: Kaffe::Static#call
- Defined in:
- lib/kaffe/static.rb
#call(env) ⇒ Object
8 9 10 11 12 13 14 15 |
# File 'lib/kaffe/static.rb', line 8 def call(env) res = @files.call(env) if res.first == 404 && @app res =@app.call(env) end res end |