No one should learn anything more than once
Mar 22, 2011
Encode URL and HTML with Ruby
We simply use:
require 'cgi'
CGI.escape("http://www.yahoo.com")
Newer Post
Older Post
Home