Skip to content

Instantly share code, notes, and snippets.

@jseifer
Created April 8, 2009 02:40
Show Gist options
  • Select an option

  • Save jseifer/91597 to your computer and use it in GitHub Desktop.

Select an option

Save jseifer/91597 to your computer and use it in GitHub Desktop.
def call(env)
@metals.keys.each do |app|
result = app.call(env)
return result unless result[0].to_i == 404
end
@app.call(env)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment