o:$YARD::CodeObjects::MethodObject:
@name:new:@docstringIC:YARD::Docstring"ūCalls allocate
to create a new object of
class's class, then invokes that object's
initialize
method, passing it args.
This is the method that ends up getting called whenever
an object is constructed using .new.
:@objectu:YARD::StubProxyClass#new:
@summary0: @all"*Calls allocate
to create a new object of
class's class, then invokes that object's
initialize
method, passing it args.
This is the method that ends up getting called whenever
an object is constructed using .new.
@overload new(args, ...)
@return [Object]:@ref_tags[ :
@tags[o:YARD::Tags::OverloadTag
;
u;Class#new;;;IC; "
;
u;Class#new;0;
"@return [Object];[ ;[o:YARD::Tags::Tag
;
0;0:@types["Object:
@text" :@tag_name"return;0:@parameters[[: args0[:...0;0:@signature"new(args, ...);"
overload:@current_file_has_commentsF:@scope:
instance;[ :@docstring_extra0:@files[["
object.c0:@namespaceu;
Class:
@path"Class#new;[ :@visibility:public:@source"#/*
* call-seq:
* class.new(args, ...) => obj
*
* Calls allocate
to create a new object of
* class's class, then invokes that object's
* initialize
method, passing it args.
* This is the method that ends up getting called whenever
* an object is constructed using .new.
*
*/
VALUE
rb_class_new_instance(argc, argv, klass)
int argc;
VALUE *argv;
VALUE klass;
{
VALUE obj;
obj = rb_obj_alloc(klass);
rb_obj_call_init(obj, argc, argv);
return obj;
}:@source_type:c