Ruby  1.9.3p551(2014-11-13revision48407)
ellipsize.c
Go to the documentation of this file.
1 #include "ruby.h"
2 
3 static VALUE
5 {
6  return rb_str_ellipsize(str, NUM2LONG(len));
7 }
8 
9 void
11 {
12  rb_define_method(klass, "ellipsize", bug_str_ellipsize, 1);
13 }
14