Module: URI

Extended by:
URI
Included in:
URI
Defined in:
lib/common/hacks.rb

Instance Method Summary collapse

Instance Method Details

#escape(str) ⇒ Object Also known as: encode


9
10
11
# File 'lib/common/hacks.rb', line 9

def escape(str)
  URI::Parser.new.escape(str)
end