Actions
Feature #14331
closedchange call CGI methods from :: to .
Status:
Closed
Assignee:
-
Target version:
-
Description
Hi.
I think using :: for call methods for CGI class methods in documentation and core may cause confusion.
I think is better to change this to standard way.
For example CGI::escapeHTML -> CGI.escapeHTML
plz see opened PR on Github https://github.com/ruby/ruby/pull/1749
Updated by shevegen (Robert A. Heiler) almost 7 years ago
I agree.
I assume that the most likely reason for the ancient style in CGI is that not many use CGI and probably not many maintain it.
The changes mentioned are very simple though. I had a look at:
https://github.com/ruby/ruby/pull/1749/commits/9f684decc2f48c5010095309d7d2b1e2332ea553
and could not see any mistakes so perhaps it could be merged.
Updated by hsbt (Hiroshi SHIBATA) over 3 years ago
- Tracker changed from Misc to Feature
- Status changed from Open to Closed
Actions
Like0
Like0Like0