method

urlencode

Importance_0
v1_8_6_287 - Show latest stable - 0 notes - Class: Net::HTTPHeader
urlencode(str) private

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/net/http.rb, line 1433
    def urlencode(str)
      str.gsub(/[^a-zA-Z0-9_\.\-]/n) {|s| sprintf('%%%02x', s[0]) }
    end
Register or log in to add new notes.