method
warn
v2_5_5 -
Show latest stable
- Class:
Warning
warn(p1)public
Writes warning message msg to $stderr, followed by a newline if the message does not end in a newline. This method is called by Ruby for all emitted warnings.
warn(p1)Writes warning message msg to $stderr, followed by a newline if the message does not end in a newline. This method is called by Ruby for all emitted warnings.