mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
@@ -44,6 +44,12 @@ module ActionDispatch
|
||||
def to_a
|
||||
[@app, @conditions, @defaults, @name]
|
||||
end
|
||||
|
||||
def to_s
|
||||
@to_s ||= begin
|
||||
"%-6s %-40s %s" % [(verb || :any).to_s.upcase, path, requirements.inspect]
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user