Method: String#chars
- Defined in:
- string.c
#chars ⇒ Object
:include: doc/string/chars.rdoc
9747 9748 9749 9750 9751 9752 |
# File 'string.c', line 9747
static VALUE
rb_str_chars(VALUE str)
{
VALUE ary = WANTARRAY("chars", rb_str_strlen(str));
return rb_str_enumerate_chars(str, ary);
}
|