Sha256: cad02f75103610a8aa30beb75e3d8f2b6ff805970d38c4b62401b7b32fca3ffc

Contents?: true

Size: 1.71 KB

Versions: 16

Compression:

Stored size: 1.71 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:to_int:@docstringIC:YARD::Docstring"áReturns the bits in _stat_ as a <code>Fixnum</code>. Poking
around in these bits is platform dependent.

   fork { exit 0xab }         #=> 26566
   Process.wait               #=> 26566
   sprintf('%04x', $?.to_i)   #=> "ab00"
:@objectu:YARD::StubProxyProcess::Status#to_int:
@summary0:	@all")Returns the bits in _stat_ as a <code>Fixnum</code>. Poking
around in these bits is platform dependent.

   fork { exit 0xab }         #=> 26566
   Process.wait               #=> 26566
   sprintf('%04x', $?.to_i)   #=> "ab00"


@overload to_i
  @return [Fixnum]
@overload to_int
  @return [Fixnum]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Process::Status#to_int;:	to_i;IC;	"
;
u;Process::Status#to_int;0;
"@return [Fixnum];[;[o:YARD::Tags::Tag
;
0;0:@types["Fixnum:
@text":@tag_name"return;0:@parameters[;0:@signature"	to_i;"
overloado;
;
u;Process::Status#to_int;;;IC;	"
;
u;Process::Status#to_int;0;
"@return [Fixnum];[;[o;
;
0;0;["Fixnum;";"return;0;[;0;"to_int;"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["process.c0:@namespaceu;Process::Status:
@path"Process::Status#to_int;[:@visibility:public:@source"ž/*
 *  call-seq:
 *     stat.to_i     => fixnum
 *     stat.to_int   => fixnum
 *
 *  Returns the bits in _stat_ as a <code>Fixnum</code>. Poking
 *  around in these bits is platform dependent.
 *
 *     fork { exit 0xab }         #=> 26566
 *     Process.wait               #=> 26566
 *     sprintf('%04x', $?.to_i)   #=> "ab00"
 */

static VALUE
pst_to_i(st)
    VALUE st;
{
    return rb_iv_get(st, "status");
}:@source_type:c

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
pry-doc-0.5.1 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.5.0 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.4.6 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.4.5 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.4.4 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Process/Status/to_int_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Process/Status/to_int_i.dat