lib/rack/app/router.rb in rack-app-5.11.0 vs lib/rack/app/router.rb in rack-app-5.11.1
- old
+ new
@@ -1,9 +1,11 @@
class Rack::App::Router
require 'rack/app/router/tree'
+ attr_reader :tree
+
NOT_FOUND_APP = lambda do |env|
rack_response = Rack::Response.new
rack_response.status = 404
rack_response.write('404 Not Found')
rack_response.finish
@@ -58,10 +60,9 @@
end
end
protected
-
def initialize
reset
end