aboutsummaryrefslogblamecommitdiffstats
path: root/actionpack/lib/action_dispatch/routing/endpoint.rb
blob: 24dced1efd9109c8e0e57e7768086ebbcf480fac (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                             


                            





                                                           


       
# frozen_string_literal: true

module ActionDispatch
  module Routing
    class Endpoint # :nodoc:
      def dispatcher?;                           false; end
      def redirect?;                             false; end
      def engine?;       rack_app.respond_to?(:routes); end
      def matches?(req);                          true; end
      def app;                                    self; end
      def rack_app;                                app; end
    end
  end
end