Sha256: c6300308bee7cd78f8b5b54b06654c14e28925a826c22a301ca1882b3767ac6b

Contents?: true

Size: 1.69 KB

Versions: 12

Compression:

Stored size: 1.69 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:initialize:@docstringIC:YARD::Docstring"ðConstruct a NoMethodError exception for a method of the given name
called with the given arguments. The name may be accessed using
the <code>#name</code> method on the resulting object, and the
arguments using the <code>#args</code> method.
:@objectu:YARD::StubProxyNoMethodError#initialize:
@summary0:	@all"Construct a NoMethodError exception for a method of the given name
called with the given arguments. The name may be accessed using
the <code>#name</code> method on the resulting object, and the
arguments using the <code>#args</code> method.


@overload new(msg, name [, args]):@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;NoMethodError#initialize;:new;IC;	"
;
u;NoMethodError#initialize;0;
";[;[:@types0:@parameters[[:msg0[:name[, args]0:
@text0:@signature"new(msg, name [, args]):@tag_name"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["error.c0:@namespaceu;NoMethodError:
@path"NoMethodError#initialize;[:@visibility:public:@source"M/*
 * call-seq:
 *   NoMethodError.new(msg, name [, args])  => no_method_error
 *
 * Construct a NoMethodError exception for a method of the given name
 * called with the given arguments. The name may be accessed using
 * the <code>#name</code> method on the resulting object, and the
 * arguments using the <code>#args</code> method.
 */

static VALUE
nometh_err_initialize(argc, argv, self)
    int argc;
    VALUE *argv;
    VALUE self;
{
    VALUE args = (argc > 2) ? argv[--argc] : Qnil;
    name_err_initialize(argc, argv, self);
    rb_iv_set(self, "args", args);
    return self;
}:@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/NoMethodError/initialize_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/NoMethodError/initialize_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/NoMethodError/initialize_i.dat