Method: Warning::buffer#write

Defined in:
error.c

#write(*args) ⇒ Object

:nodoc:


516
517
518
519
520
521
522
523
# File 'error.c', line 516

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