method
to_s
v2.1.0 -
Show latest stable
- Class:
ActionController::Routing::Route
to_s()public
No documentation available.
# File actionpack/lib/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