method

extract_value

rails latest stable - Class: ActionController::Routing::PathSegment

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v2.3.8) is shown here.

extract_value()
public

No documentation available.

# File actionpack/lib/action_controller/routing/segments.rb, line 272
      def extract_value
        "#{local_name} = hash[:#{key}] && Array(hash[:#{key}]).collect { |path_component| URI.escape(path_component.to_param, ActionController::Routing::Segment::UNSAFE_PCHAR) }.to_param #{"|| #{default.inspect}" if default}"
      end