method

uri_encode

Importance_0
v2_6_3 - Show latest stable - 0 notes - Class: Server
uri_encode(str) public

No documentation

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

Hide source
# File lib/rubygems/server.rb, line 459
  def uri_encode(str)
    str.gsub(URI::UNSAFE) do |match|
      match.each_byte.map { |c| sprintf('%%%02X', c.ord) }.join
    end
  end
Register or log in to add new notes.