APIdock / Ruby
/
method

to_s

ruby latest stable - Class: UncaughtThrowError
to_s()
public

Returns formatted message with the inspected tag.

static VALUE
uncaught_throw_to_s(VALUE exc)
{
 VALUE mesg = rb_attr_get(exc, id_mesg);
 VALUE tag = uncaught_throw_tag(exc);
 return rb_str_format(1, &tag, mesg);
}

AltStyle によって変換されたページ (->オリジナル) /