Class: ActionDispatch::Routing::Endpoint
- Inherits:
-
Object
- Object
- ActionDispatch::Routing::Endpoint
show all
- Defined in:
- actionpack/lib/action_dispatch/routing/endpoint.rb
Overview
Instance Method Summary
collapse
Instance Method Details
9
|
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 9
def app; self; end
|
#dispatcher? ⇒ Boolean
6
|
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 6
def dispatcher?; false; end
|
#engine? ⇒ Boolean
12
13
14
|
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 12
def engine?
rack_app.is_a?(Class) && rack_app < Rails::Engine
end
|
#matches?(req) ⇒ Boolean
8
|
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 8
def matches?(req); true; end
|
10
|
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 10
def rack_app; app; end
|
#redirect? ⇒ Boolean
7
|
# File 'actionpack/lib/action_dispatch/routing/endpoint.rb', line 7
def redirect?; false; end
|