Sha256: ba0c459c50f006a0ab0e5c0d22f12a07c00a18120dab664a42d0916b7f193b9a

Contents?: true

Size: 477 Bytes

Versions: 4

Compression:

Stored size: 477 Bytes

Contents

# 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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
actionpack-5.2.0.rc2 lib/action_dispatch/routing/endpoint.rb
actionpack-5.2.0.rc1 lib/action_dispatch/routing/endpoint.rb
actionpack-5.2.0.beta2 lib/action_dispatch/routing/endpoint.rb
actionpack-5.2.0.beta1 lib/action_dispatch/routing/endpoint.rb