Patches item #1934, was opened at 2005-05-20 11:46
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1700&aid=1934&group_id=426

Category: Ruby1.9
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Zev Blut (zev)
Assigned to: Nobody (None)
Summary: Add underscore method name aliases to the CGI class methods that currently have a camel case style method name.

Initial Comment:
It might be nice to add aliases to the current camel case CGI class methods that use an underscore style method name.   The underscore style is more consistent with other Ruby libraries.

The aliases in particular are for CGI::escapeHTML, CGI::unescapeHTML, CGI::escapeElement, CGI::unescapeElement.

The proposed alias additions are CGI::escape_html, CGI::unescape_html, CGI::escape_element, CGI::unescape_element

Attached is a patch that does this.


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=1700&aid=1934&group_id=426