Class: CGI

Inherits:
Object
  • Object
show all
Defined in:
lib/gin/core_ext/cgi.rb

Overview

:nodoc:

Class Method Summary collapse

Class Method Details

.__escapeHTMLObject


7
# File 'lib/gin/core_ext/cgi.rb', line 7

alias_method :__escapeHTML, :escapeHTML

.escapeHTML(str) ⇒ Object


10
11
12
# File 'lib/gin/core_ext/cgi.rb', line 10

def self.escapeHTML str
  __escapeHTML(str).gsub("'", "'")
end