# File lib/vendor/route_exceptions.rb, line 21 21: def call(env, try_again = true) 22: @app.call(env) 23: rescue Exception => exception 24: raise(exception) unless try_again 25: 26: ROUTES.each do |klass, to| 27: next unless klass === exception 28: return route(to, env, exception) 29: end 30: 31: raise(exception) 32: end
# File lib/vendor/route_exceptions.rb, line 34 34: def route(to, env, exception) 35: env.merge!( 36: PATH_INFO => env['PATH_INFO'], 37: EXCEPTION => exception, 38: 'PATH_INFO' => to) 39: call(env, try_again = false) 40: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.