11. escapeHTML() in Ruby
By: Jeeva : 2009-03-03
Description: Escape special characters in HTML
Read the full article
 
12. new(type = "query") in Ruby
By: Jeeva : 2009-03-03
Description: If the CGI object is not created in a standard CGI call environment (that is, it can’t locate REQUEST_METHOD in its environment), then it will run in "offline" mode. In this mode, it reads its parameters from the command line or (failing that) from standard input. Otherwise, cookies and other parameters are parsed automatically from the standard CGI locations, which varies according to the REQUEST_METHOD.
Read the full article
 
13. parse(query) in Ruby
By: Jeeva : 2009-03-03
Description: Parse an HTTP query string into a hash of key=>value pairs.
Read the full article
 
14. pretty() in Ruby
By: Jeeva : 2009-03-03
Description: Prettify (indent) an HTML string
Read the full article
 
15. Format a Time object as a String in Ruby
By: Jeeva : 2009-03-03
Description: Format a Time object as a String using the format specified by RFC 1123.
Read the full article
 
16. URL decode a string in Ruby
By: Jeeva : 2009-03-03
Description: URL-decode a string
Read the full article
 
17. unescapeElement() in Ruby
By: Jeeva : 2009-03-03
Description: Undo escaping such as that done by CGI::escapeElement()
Read the full article
 
18. unescapeHTML() in Ruby
By: Jeeva : 2009-03-03
Description: Unescape a string that has been HTML-escaped
Read the full article
 
19. header() in Ruby
By: Jeeva : 2009-03-03
Description: Create an HTTP header block as a string
Read the full article
 
20. out() in Ruby
By: Jeeva : 2009-03-03
Description: Print an HTTP header and body to $DEFAULT_OUTPUT
Read the full article
 

Previous      Next