warn(p1)
public
Display the given message (followed by
a newline) on STDERR unless warnings are disabled (for example with the -W0
flag).
Show source
static VALUE
rb_warn_m(VALUE self, VALUE mesg)
{
if (!NIL_P(ruby_verbose)) {
rb_io_write(rb_stderr, mesg);
rb_io_write(rb_stderr, rb_default_rs);
}
return Qnil;
}