# File webrick/htmlutils.rb, line 14 def escape(string) str = string ? string.dup : "" str.gsub!(/&/, '&') str.gsub!(/\"/, '"') str.gsub!(/>/, '>') str.gsub!(/</, '<') str end
This page was generated for Ruby 1.9.2
Ruby-doc.org is hosted by James Britt and Neurogami, an avant garage research + development in Scottsdale, AZ.
Generated with the Rubydoc Rdoc Generator 0.9.3.