Sha256: 7a239d351ea8c5ca72db5b0cd325eaee4743f2e894828a9438e24060e00dbffa

Contents?: true

Size: 384 Bytes

Versions: 222

Compression:

Stored size: 384 Bytes

Contents

# frozen_string_literal: true

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

      def engine?
        rack_app.is_a?(Class) && rack_app < Rails::Engine
      end
    end
  end
end

Version data entries

222 entries across 209 versions & 13 rubygems

Version Path
actionpack-7.1.5 lib/action_dispatch/routing/endpoint.rb
actionpack-7.1.4.2 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.8.6 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.7.10 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.7.9 lib/action_dispatch/routing/endpoint.rb
actionpack-7.1.4.1 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.8.5 lib/action_dispatch/routing/endpoint.rb
actionpack-7.1.4 lib/action_dispatch/routing/endpoint.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionpack-7.1.3.4/lib/action_dispatch/routing/endpoint.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/actionpack-7.0.8.4/lib/action_dispatch/routing/endpoint.rb
cm-admin-1.5.22 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/routing/endpoint.rb
cm-admin-1.5.21 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/routing/endpoint.rb
cm-admin-1.5.20 vendor/bundle/ruby/3.3.0/gems/actionpack-7.0.5.1/lib/action_dispatch/routing/endpoint.rb
tinymce-rails-7.1.2 vendor/bundle/ruby/3.3.0/gems/actionpack-7.1.3.4/lib/action_dispatch/routing/endpoint.rb
actionpack-7.1.3.4 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.8.4 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.7.8 lib/action_dispatch/routing/endpoint.rb
actionpack-7.1.3.2 lib/action_dispatch/routing/endpoint.rb
actionpack-7.1.3.1 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.8.1 lib/action_dispatch/routing/endpoint.rb