Flowdock
method

regexp_chunk

Importance_0
v2.3.2 - 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 242
      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.