Module: Strlen
- Defined in:
- ext/strlen/strlen.c
Class Method Summary collapse
Class Method Details
.strlen(str) ⇒ Object
3 4 5 6 7 |
# File 'ext/strlen/strlen.c', line 3 static VALUE rb_strlen(VALUE mod, VALUE str) { return LONG2NUM(strlen(StringValueCStr(str))); } |