method

match_extraction

match_extraction(next_capture)
public

No documentation available.

# File actionpack/lib/action_controller/routing/segments.rb, line 262
      def match_extraction(next_capture)
        if default
          "params[:#{key}] = match[#{next_capture}] ? match[#{next_capture}].downcase : '#{default}'"
        else
          "params[:#{key}] = match[#{next_capture}].downcase if match[#{next_capture}]"
        end
      end