class Haml::HTML::ERB

def h(text)

Returns:
  • (String) - The escaped text

Parameters:
  • text (String) -- The text to escape
def h(text)
  CGI.escapeHTML(text)
end