Sha256: 9eda4e3734abda7d6c237145c52866bfd9ef1951a498b0ad702e7c1c600d58d5

Contents?: true

Size: 1.14 KB

Versions: 12

Compression:

Stored size: 1.14 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:initialize:@docstringIC:YARD::Docstring"?Create a new +SystemExit+ exception with the given status.
:@objectu:YARD::StubProxySystemExit#initialize:
@summary0:	@all"YCreate a new +SystemExit+ exception with the given status.


@overload new(status=0):@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;SystemExit#initialize;:new;IC;	"
;
u;SystemExit#initialize;0;
";[;[:@types0:@parameters[[:status"0:
@text0:@signature"new(status=0):@tag_name"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["error.c0:@namespaceu;SystemExit:
@path"SystemExit#initialize;[:@visibility:public:@source"´/*
 * call-seq:
 *   SystemExit.new(status=0)   => system_exit
 *
 * Create a new +SystemExit+ exception with the given status.
 */

static VALUE
exit_initialize(argc, argv, exc)
    int argc;
    VALUE *argv;
    VALUE exc;
{
    VALUE status = INT2FIX(EXIT_SUCCESS);
    if (argc > 0 && FIXNUM_P(argv[0])) {
    status = *argv++;
    --argc;
    }
    rb_call_super(argc, argv);
    rb_iv_set(exc, "status", status);
    return exc;
}:@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/SystemExit/initialize_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/SystemExit/initialize_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/SystemExit/initialize_i.dat