123456789_123456789_123456789_123456789_123456789_

Module: ERB::Escape

Relationships & Source Files
Extension / Inclusion / Inheritance Descendants
Included In:
Defined in: lib/erb/util.rb

Class Method Summary

Class Method Details

.html_escape(s) (mod_func) Also known as: #h

[ GitHub ]

  
# File 'lib/erb/util.rb', line 15

def html_escape(s)
  CGI.escapeHTML(s.to_s)
end