There's no documentation for this item.
# File webrick/htmlutils.rb, line 14 def escape(string) str = string ? string.dup : "" str.gsub!(/&/n, '&') str.gsub!(/\"/n, '"') str.gsub!(/>/n, '>') str.gsub!(/</n, '<') str end
<code/>
<pre/>
<code/>and<pre/>for code samples.