Method: Warning::buffer#write

Defined in:
error.c

#write(*args) ⇒ Object

:nodoc:



598
599
600
601
602
603
604
605
# File 'error.c', line 598

static VALUE
warning_write(int argc, VALUE *argv, VALUE buf)
{
    while (argc-- > 0) {
        rb_str_append(buf, *argv++);
    }
    return buf;
}