pub fn warning(s: &str)
Outputs s to Ruby’s stderr if Ruby is configured to output warnings.
s
Otherwise does nothing.
Panics if called from a non-Ruby thread. See Ruby::warning for the non-panicking version.
Ruby::warning