summaryrefslogtreecommitdiff
path: root/ext/-test-/array/resize/resize.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 20:47:01 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-01-05 20:47:01 +0000
commit56317927278dffa906092fccd1093786a9380484 (patch)
tree626ef72bc3dea1c249f99d904cb543e81a366496 /ext/-test-/array/resize/resize.c
parent65ea2eed78bf5f70e70885dca9be3a40e38b67d2 (diff)
* ext/-test-/array/resize/resize.c (Init_resize): renamed method
for test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/-test-/array/resize/resize.c')
-rw-r--r--ext/-test-/array/resize/resize.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/-test-/array/resize/resize.c b/ext/-test-/array/resize/resize.c
index b3e6c751ba..08bcee3e7a 100644
--- a/ext/-test-/array/resize/resize.c
+++ b/ext/-test-/array/resize/resize.c
@@ -10,5 +10,5 @@ ary_resize(VALUE ary, VALUE len)
void
Init_resize(void)
{
- rb_define_method(rb_cArray, "resize", ary_resize, 1);
+ rb_define_method(rb_cArray, "__resize__", ary_resize, 1);
}