module ERB::Escape

Public Class Methods

html_escape(s) click to toggle source
# File lib/erb/util.rb, line 16
def html_escape(s)
  CGI.escapeHTML(s.to_s)
end

Private Instance Methods

html_escape(s) click to toggle source
# File lib/erb/util.rb, line 16
def html_escape(s)
  CGI.escapeHTML(s.to_s)
end