Sha256: 7b0c1a7ec3d5c85425278d1686af0b7fefed36a606fa4d9746687430944afaff

Contents?: true

Size: 1.65 KB

Versions: 12

Compression:

Stored size: 1.65 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:message:@docstringIC:YARD::Docstring"ĪReturns the result of invoking <code>exception.to_s</code>.
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.
:@objectu:YARD::StubProxyException#message:
@summary0:	@all"Returns the result of invoking <code>exception.to_s</code>.
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.


@overload message
  @return [String]
@overload to_str
  @return [String]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Exception#message;;;IC;	"
;
u;Exception#message;0;
"@return [String];[;[o:YARD::Tags::Tag
;
0;0:@types["String:
@text":@tag_name"return;0:@parameters[;0:@signature"message;"
overloado;
;
u;Exception#message;:to_str;IC;	"
;
u;Exception#message;0;
"@return [String];[;[o;
;
0;0;["String;";"return;0;[;0;"to_str;"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["error.c0:@namespaceu;Exception:
@path"Exception#message;[:@visibility:public:@source" /*
 * call-seq:
 *   exception.message   =>  string
 *   exception.to_str    =>  string
 *
 * Returns the result of invoking <code>exception.to_s</code>.
 * 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.
 */

static VALUE
exc_to_str(exc)
    VALUE exc;
{
    return rb_funcall(exc, rb_intern("to_s"), 0, 0);
}:@source_type:c

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Exception/message_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Exception/message_i.dat