method
regexp_chunk
rails latest stable - Class:
ActionController::Routing::ControllerSegment
regexp_chunk()public
No documentation available.
# 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