Flowdock
method

match_extraction

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