Flowdock
method

regexp_chunk

Importance_0
v2.1.0 - Show latest stable - 0 notes - Class: ActionController::Routing::ControllerSegment
regexp_chunk() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/routing/segments.rb, line 221
      def regexp_chunk
        possible_names = Routing.possible_controllers.collect { |name| Regexp.escape name }
        "(?i-:(#{(regexp || Regexp.union(*possible_names)).source}))"
      end
Register or log in to add new notes.