Module: ERB::Escape
Relationships & Source Files | |
Extension / Inclusion / Inheritance Descendants | |
Included In:
| |
Defined in: | lib/erb/util.rb |
Class Method Summary
- .html_escape(s) (also: #h) mod_func
Class Method Details
.html_escape(s) (mod_func) Also known as: #h
[ GitHub ]# File 'lib/erb/util.rb', line 16
def html_escape(s) CGI.escapeHTML(s.to_s) end