method
match_extraction
v2.3.8 -
Show latest stable
- Class:
ActionController::Routing::PathSegment
match_extraction(next_capture)public
No documentation available.
# File actionpack/lib/action_controller/routing/segments.rb, line 284
def match_extraction(next_capture)
"params[:#{key}] = PathSegment::Result.new_escaped((match[#{next_capture}]#{" || " + default.inspect if default}).split('/'))#{" if match[" + next_capture + "]" if !default}"
end