Ruby  1.9.3p484(2013-11-22revision43786)
resize.c
Go to the documentation of this file.
1 #include "ruby/ruby.h"
2 
3 static VALUE
5 {
6  rb_ary_resize(ary, NUM2LONG(len));
7  return ary;
8 }
9 
10 void
12 {
13  rb_define_method(rb_cArray, "__resize__", ary_resize, 1);
14 }
15