mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02:00
* insns.def (concatarray, splatarray): use to_a instead of
to_splat. * insnhelper.ci (caller_setup_args): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@14063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
6fafbfd63e
commit
2bbffcd6a4
8 changed files with 14 additions and 48 deletions
1
array.c
1
array.c
|
@ -3242,7 +3242,6 @@ Init_Array(void)
|
|||
rb_define_method(rb_cArray, "to_s", rb_ary_inspect, 0);
|
||||
rb_define_method(rb_cArray, "inspect", rb_ary_inspect, 0);
|
||||
rb_define_method(rb_cArray, "to_a", rb_ary_to_a, 0);
|
||||
rb_define_method(rb_cArray, "to_splat", rb_ary_to_a, 0);
|
||||
rb_define_method(rb_cArray, "to_ary", rb_ary_to_ary_m, 0);
|
||||
rb_define_method(rb_cArray, "frozen?", rb_ary_frozen_p, 0);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue