o:$YARD::CodeObjects::MethodObject: @name: fail:@docstringIC:YARD::Docstring"¢With no arguments, raises the exception in $! or raises a RuntimeError if $! is +nil+. With a single +String+ argument, raises a +RuntimeError+ with the string as a message. Otherwise, the first parameter should be the name of an +Exception+ class (or an object that returns an +Exception+ object when sent an +exception+ message). The optional second parameter sets the message associated with the exception, and the third parameter is an array of callback information. Exceptions are caught by the +rescue+ clause of begin...end blocks. raise "Failed to create socket" raise ArgumentError, "No parameters", caller : @objectu:YARD::StubProxyKernel#fail: @summary0: @all"QWith no arguments, raises the exception in $! or raises a RuntimeError if $! is +nil+. With a single +String+ argument, raises a +RuntimeError+ with the string as a message. Otherwise, the first parameter should be the name of an +Exception+ class (or an object that returns an +Exception+ object when sent an +exception+ message). The optional second parameter sets the message associated with the exception, and the third parameter is an array of callback information. Exceptions are caught by the +rescue+ clause of begin...end blocks. raise "Failed to create socket" raise ArgumentError, "No parameters", caller @overload raise @overload raise(string) @overload raise(exception [, string [, array]]) @overload fail @overload fail(string) @overload fail(exception [, string [, array]]):@ref_tags[: @tags[ o:YARD::Tags::OverloadTag ; u; Kernel#fail;: raise;IC; " ; u; Kernel#fail; 0; ";[;[: @types0:@parameters[: @text0:@signature" raise:@tag_name" overloado; ; u; Kernel#fail;;;IC; " ; u; Kernel#fail; 0; ";[;[;0;[[: string0;0;"raise(string);" overloado; ; u; Kernel#fail;;;IC; " ; u; Kernel#fail; 0; ";[;[;0;[[:"exception[, string [, array]]0;0;"*raise(exception [, string [, array]]);" overloado; ; u; Kernel#fail;;;IC; " ; u; Kernel#fail; 0; ";[;[;0;[;0;" fail;" overloado; ; u; Kernel#fail;;;IC; " ; u; Kernel#fail; 0; ";[;[;0;[[;0;0;"fail(string);" overloado; ; u; Kernel#fail;;;IC; " ; u; Kernel#fail; 0; ";[;[;0;[[;0;0;")fail(exception [, string [, array]]);" overload:@current_file_has_commentsF: @scope: instance;[:@docstring_extra0: @files[[" eval.c0:@namespaceu; Kernel: @path"Kernel#fail;[:@visibility: public: @source"2/* * call-seq: * raise * raise(string) * raise(exception [, string [, array]]) * fail * fail(string) * fail(exception [, string [, array]]) * * With no arguments, raises the exception in $! or raises * a RuntimeError if $! is +nil+. * With a single +String+ argument, raises a * +RuntimeError+ with the string as a message. Otherwise, * the first parameter should be the name of an +Exception+ * class (or an object that returns an +Exception+ object when sent * an +exception+ message). The optional second parameter sets the * message associated with the exception, and the third parameter is an * array of callback information. Exceptions are caught by the * +rescue+ clause of begin...end blocks. * * raise "Failed to create socket" * raise ArgumentError, "No parameters", caller */ static VALUE rb_f_raise(argc, argv) int argc; VALUE *argv; { rb_raise_jump(rb_make_exception(argc, argv)); return Qnil; /* not reached */ }:@source_type:c