module ERB::Escape

Public Class Methods

html_escape(s) click to toggle source
# File lib/erb/util.rb, line 15
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 15
def html_escape(s)
  CGI.escapeHTML(s.to_s)
end