There's no documentation for this item.
Source Code
# File action_controller/routing/route.rb, line 222 def to_s @to_s ||= begin segs = segments.inject("") { |str,s| str << s.to_s } "%-6s %-40s %s" % [(conditions[:method] || :any).to_s.upcase, segs, requirements.inspect] end end
<code/>and<pre/>for code samples.