Class: ReeText::EscapeHtml

Inherits:
Object
  • Object
show all
Includes:
Ree::FnDSL
Defined in:
lib/ree_lib/packages/ree_text/package/ree_text/functions/escape_html.rb

Instance Method Summary collapse

Instance Method Details

#call(str) ⇒ Object



12
13
14
# File 'lib/ree_lib/packages/ree_text/package/ree_text/functions/escape_html.rb', line 12

def call(str)
  CGI.escapeHTML(str)
end