Flowdock
method

match_extraction

Importance_0
v2.2.1 - Show latest stable - 0 notes - Class: ActionController::Routing::ControllerSegment
match_extraction(next_capture) 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 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
Register or log in to add new notes.