Sha256: 67715411f797e57e06aea2d35152b93a885ebd63bda03bb84419c8288621bc96
Contents?: true
Size: 365 Bytes
Versions: 9
Compression:
Stored size: 365 Bytes
Contents
require "rack/response" class Rack::App::Router::NotFound < Rack::App::Router::Base protected NOT_FOUND_APP = lambda do |env| rack_response = Rack::Response.new rack_response.status = 404 rack_response.write('404 Not Found') rack_response.finish end def get_app(env) NOT_FOUND_APP end def compile_registered_endpoints! end end
Version data entries
9 entries across 9 versions & 1 rubygems