Module: VTT
- Defined in:
- lib/vtt.rb,
lib/version.rb,
ext/ctt/ctt.c
Constant Summary collapse
- VERSION =
"0.0.1"
Class Method Summary collapse
Class Method Details
.length(data) ⇒ Object
3 4 5 6 |
# File 'ext/ctt/ctt.c', line 3
static VALUE vtt_length(VALUE self, VALUE data) {
int length = NUM2INT(rb_funcall(data, rb_intern("length"), 0, 0));
return INT2FIX(length);
}
|