method

regexp_string

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

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.

regexp_string()
public

No documentation available.

# File actionpack/lib/action_controller/routing/segments.rb, line 201
      def regexp_string
        regexp_has_modifiers? ? "(#{regexp.to_s})" : "(#{regexp.source})"
      end