static long NUM2LONG(VALUE x)
static VALUE bug_str_ellipsize(VALUE str, VALUE len)
void Init_ellipsize(VALUE klass)
register unsigned int len
VALUE rb_str_ellipsize(VALUE, long)
Shortens str and adds three dots, an ellipsis, if it is longer than len characters.
void rb_define_method(VALUE klass, const char *name, VALUE(*func)(ANYARGS), int argc)