summaryrefslogtreecommitdiff
path: root/ext/-test-/array
diff options
context:
space:
mode:
Diffstat (limited to 'ext/-test-/array')
-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 b3e6c751ba1..08bcee3e7a2 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);
}