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
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.2.3/lib/action_dispatch/routing/endpoint.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-7.0.3.1/lib/action_dispatch/routing/endpoint.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionpack-6.1.6.1/lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.5 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.4.3 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.7.3 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.7.2 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.4.2 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.4.1 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.7.1 lib/action_dispatch/routing/endpoint.rb
actionpack-6.0.6.1 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.4 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.7 lib/action_dispatch/routing/endpoint.rb
actionpack-6.0.6 lib/action_dispatch/routing/endpoint.rb
actionpack-7.0.3.1 lib/action_dispatch/routing/endpoint.rb
actionpack-6.1.6.1 lib/action_dispatch/routing/endpoint.rb
actionpack-6.0.5.1 lib/action_dispatch/routing/endpoint.rb
actionpack-5.2.8.1 lib/action_dispatch/routing/endpoint.rb
actionpack-5.2.8 lib/action_dispatch/routing/endpoint.rb
actionpack-6.0.5 lib/action_dispatch/routing/endpoint.rb