Method: String#chars

Defined in:
string.c

#charsObject

:include: doc/string/chars.rdoc



9743
9744
9745
9746
9747
9748
# File 'string.c', line 9743

static VALUE
rb_str_chars(VALUE str)
{
    VALUE ary = WANTARRAY("chars", rb_str_strlen(str));
    return rb_str_enumerate_chars(str, ary);
}