Project

General

Profile

Bug #4733 » 0001-Adding-documentation-for-CGI.patch

crnixon (Clinton Nixon), 05/19/2011 03:54 AM

View differences:

lib/cgi/core.rb
# :startdoc:
# Synonym for ENV.
def env_table
ENV
end
# Synonym for $stdin.
def stdinput
$stdin
end
# Synonym for $stdout.
def stdoutput
$stdout
end
......
@@accept_charset="UTF-8"
# Return the accept character set for all new CGI instances.
def self.accept_charset
@@accept_charset
end
# Set the accept character set for all new CGI instances.
def self.accept_charset=(accept_charset)
@@accept_charset=accept_charset
end
# Return the accept character set for this CGI instance.
attr_reader :accept_charset
# Create a new CGI instance.
lib/cgi/util.rb
end
end
end
# Synonym for CGI.escapeHTML.
def CGI::escape_html(str)
escapeHTML(str)
end
# Synonym for CGI.unescapeHTML.
def CGI::unescape_html(str)
unescapeHTML(str)
end
......
string
end
end
# Synonym for CGI.escapeElement.
def CGI::escape_element(str)
escapeElement(str)
end
# Synonym for CGI.unescapeElement.
def CGI::unescape_element(str)
unescapeElement(str)
end
(1-1/3)