method

to_str

Importance_1
v1_8_6_287 - Show latest stable - 0 notes - Class: Exception
to_str() public

Returns the result of invoking exception.to_s. Normally this returns the exception’s message or name. By supplying a to_str method, exceptions are agreeing to be used where Strings are expected.

Show source
Register or log in to add new notes.