Sha256: 8a765176a0b8530e954bda415e70858431dde027dd1c015ac93f5cab95800fb4

Contents?: true

Size: 1.24 KB

Versions: 12

Compression:

Stored size: 1.24 KB

Contents

o:$YARD::CodeObjects::MethodObject:@scope:
instance:@visibility:public:
@pathI"Thread#inspect:EF:@parameters[:@files[[I"
thread.c;T0:@current_file_has_commentsF:
@name:inspect:@source_type:c:
@tags[:@docstringIC:YARD::Docstring"8Dump the name, id, and status of _thr_ to a string.;F:@objectIu:YARD::StubProxyThread#inspect;F:
@summary0:@ref_tags[;[o:YARD::Tags::OverloadTag
:@tag_nameI"
overload;F:
@text0;;:@types0:@signatureI"inspect;F;IC;";F;Iu;Thread#inspect;F;0;[;[o:YARD::Tags::Tag
;I"return;F;I";F;0;[I"String;F;0:	@allI"@return [String];F;[;Iu;Thread#inspect;F; I"_Dump the name, id, and status of _thr_ to a string.


@overload inspect
  @return [String];F:@namespaceIu;Thread;F:@docstring_extra0:@sourceI"È/*
 * call-seq:
 *   thr.inspect   -> string
 *
 * Dump the name, id, and status of _thr_ to a string.
 */

static VALUE
rb_thread_inspect(VALUE thread)
{
    const char *cname = rb_obj_classname(thread);
    rb_thread_t *th;
    const char *status;
    VALUE str;

    GetThreadPtr(thread, th);
    status = thread_status_name(th->status);
    str = rb_sprintf("#<%s:%p %s>", cname, (void *)thread, status);
    OBJ_INFECT(str, thread);

    return str;
};F

Version data entries

12 entries across 12 versions & 2 rubygems

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