Method: String#chop

Defined in:
string.c

#chopObject

:include: doc/string/chop.rdoc



10034
10035
10036
10037
10038
# File 'string.c', line 10034

static VALUE
rb_str_chop(VALUE str)
{
    return rb_str_subseq(str, 0, chopped_length(str));
}