edge badge
Methods
A
C
E
I
N
P
R
Instance Public methods
action()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 40
def action
  parts.include?(:action) ? ":action" : requirements[:action]
end
constraints()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 12
def constraints
  requirements.except(:controller, :action)
end
controller()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 36
def controller
  parts.include?(:controller) ? ":controller" : requirements[:controller]
end
endpoint()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 8
def endpoint
  app.dispatcher? ? "#{controller}##{action}" : rack_app.inspect
end
engine?()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 48
def engine?
  app.engine?
end
internal?()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 44
def internal?
  internal
end
name()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 24
def name
  super.to_s
end
path()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 20
def path
  super.spec.to_s
end
rack_app()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 16
def rack_app
  app.rack_app
end
reqs()
# File actionpack/lib/action_dispatch/routing/inspector.rb, line 28
def reqs
  @reqs ||= begin
    reqs = endpoint
    reqs += " #{constraints}" unless constraints.empty?
    reqs
  end
end