Method: String#bytesize
- Defined in:
- string.c
#bytesize ⇒ Integer
:include: doc/string/bytesize.rdoc
2369 2370 2371 2372 2373 |
# File 'string.c', line 2369 VALUE rb_str_bytesize(VALUE str) { return LONG2NUM(RSTRING_LEN(str)); } |
:include: doc/string/bytesize.rdoc
2369 2370 2371 2372 2373 |
# File 'string.c', line 2369 VALUE rb_str_bytesize(VALUE str) { return LONG2NUM(RSTRING_LEN(str)); } |