Method: String#chop
- Defined in:
- string.c
#chop ⇒ Object
: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));
}
|