Support for the Ruby 2.4 series has ended. See here for reference.

In Files

  • error.c

Methods

Class/Module Index [+]

Quicksearch

Warning

Public Instance Methods

warn(p1) click to toggle source
 
               static VALUE
rb_warning_s_warn(VALUE mod, VALUE str)
{
    Check_Type(str, T_STRING);
    rb_must_asciicompat(str);
    rb_write_error_str(str);
    return Qnil;
}