method

separator_pattern

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

Method deprecated or moved

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

separator_pattern(inverted = false)
public

No documentation available.

# File actionpack/lib/action_controller/routing/builder.rb, line 11
      def separator_pattern(inverted = false)
        "[#{'^' if inverted}#{Regexp.escape(separators.join)}]"
      end