method

escape

Importance_0
v4.2.1 - Show latest stable - 0 notes - Class: UriEncoder
escape(component, pattern) protected

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 62
            def escape(component, pattern)
              component.gsub(pattern){ |unsafe| percent_encode(unsafe) }.force_encoding(US_ASCII)
            end
Register or log in to add new notes.