method

escape

Importance_0
Ruby on Rails latest stable (v7.1.3.2) - 0 notes - Class: UriEncoder
escape(component, pattern) private

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_dispatch/journey/router/utils.rb, line 69
            def escape(component, pattern)
              component.gsub(pattern) { |unsafe| percent_encode(unsafe) }.force_encoding(US_ASCII)
            end
Register or log in to add new notes.