Method: ActionDispatch::Routing::RouteWrapper#engine?

Defined in:
actionpack/lib/action_dispatch/routing/inspector.rb

#engine?Boolean

Returns:

  • (Boolean)


75
76
77
# File 'actionpack/lib/action_dispatch/routing/inspector.rb', line 75

def engine?
  rack_app && rack_app.respond_to?(:routes)
end