module ERB::Escape Public Class Methods html_escape (s) toggle source # File lib/erb/util.rb, line 16 def html_escape(s) CGI.escapeHTML(s.to_s) end