[#67346] Future of test suites for Ruby — Charles Oliver Nutter <headius@...>

I'll try to be brief so we can discuss all this. tl;dr: RubySpec is

19 messages 2015/01/05

[ruby-core:67668] [ruby-trunk - Misc #10755] [Open] Use rb_define_alias instead of rb_define_method for rb_cHash

From: mail@...
Date: 2015-01-18 03:10:08 UTC
List: ruby-core #67668
Issue #10755 has been reported by gogo tanaka.

----------------------------------------
Misc #10755: Use rb_define_alias instead of rb_define_method for rb_cHash
https://bugs.ruby-lang.org/issues/10755

* Author: gogo tanaka
* Status: Open
* Priority: Low
* Assignee: 
----------------------------------------
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--------------------------------
using_rb_define_method_for_rbHash.patch (3.19 KB)


-- 
https://bugs.ruby-lang.org/

In This Thread

Prev Next