method

escape

Importance_0
v5.1.7 - Show latest stable - 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 64
            def escape(component, pattern) # :doc:
              component.gsub(pattern) { |unsafe| percent_encode(unsafe) }.force_encoding(US_ASCII)
            end
Register or log in to add new notes.