lib/rack/app/router.rb in rack-app-5.0.0.rc1 vs lib/rack/app/router.rb in rack-app-5.0.0.rc2
- old
+ new
@@ -49,9 +49,13 @@
)
end
nil
end
+ def reset
+ [@static, @dynamic].each(&:reset)
+ end
+
protected
def initialize
@static = Rack::App::Router::Static.new
@dynamic = Rack::App::Router::Dynamic.new