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