Actions
Feature #10755
openUse rb_define_alias instead of rb_define_method for rb_cHash
Status:
Open
Assignee:
-
Target version:
-
Description
Hi, there.
The main reason for using rb_define_alias
is generating more prefer Document and making code more readable.
Is there any reason rb_define_method
is prefered to rb_define_alias
?
If so, please let me know :)
If not so, I'm gonna do same thing for other part of code.
I've sorted some methods in terms of rb_define_alias
being very after original.
Files
Updated by gogotanaka (Kazuki Tanaka) over 9 years ago
Hi!
As https://github.com/ruby/ruby/pull/756/, it can make users a little bit confused.
Even some of them can think it's a mistake of documentation.
so I wanna commit this patch(using_rb_define_method_for_rbHash.patch), is there any problem?
Updated by hsbt (Hiroshi SHIBATA) over 3 years ago
- Tracker changed from Misc to Feature
Actions
Like0
Like0Like0