module ERB::Escape
Public Class Methods
Source
# File lib/erb/util.rb, line 16 def html_escape(s) CGI.escapeHTML(s.to_s) end
Private Instance Methods
Source
# File lib/erb/util.rb, line 16 def html_escape(s) CGI.escapeHTML(s.to_s) end
Ruby Core © 1993–2024 Yukihiro Matsumoto
Licensed under the Ruby License.
Ruby Standard Library © contributors
Licensed under their own licenses.