123456789_123456789_123456789_123456789_123456789_

Class: ActionDispatch::Routing::Endpoint

Do not use. This class is for internal use only.
Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Subclasses:
Inherits: Object
Defined in: actionpack/lib/action_dispatch/routing/endpoint.rb

Instance Attribute Summary

Instance Method Summary

Instance Attribute Details

#dispatcher?Boolean (readonly)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 8

def dispatcher?;   false; end

#engine?Boolean (readonly)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 14

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

#redirect?Boolean (readonly)

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 9

def redirect?;     false; end

Instance Method Details

#app

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 11

def app;            self; end

#matches?(req) ⇒ Boolean

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 10

def matches?(req);  true; end

#rack_app

[ GitHub ]

  
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 12

def rack_app;        app; end