method

to_s

rails latest stable - Class: ActionController::Routing::Route

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

to_s()
public

No documentation available.

# File actionpack/lib/action_controller/routing/route.rb, line 107
      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