Sha256: 1f108a111e2a950933126344adde789a4be35eaca8596d32f0fdd0fdcf052322

Contents?: true

Size: 1.62 KB

Versions: 12

Compression:

Stored size: 1.62 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:	push:@docstringIC:YARD::Docstring"÷Append---Pushes the given object(s) on to the end of this array. This
expression returns the array itself, so several appends
may be chained together.

   a = [ "a", "b", "c" ]
   a.push("d", "e", "f")
           #=> ["a", "b", "c", "d", "e", "f"]
:@objectu:YARD::StubProxyArray#push:
@summary0:	@all"%Append---Pushes the given object(s) on to the end of this array. This
expression returns the array itself, so several appends
may be chained together.

   a = [ "a", "b", "c" ]
   a.push("d", "e", "f")
           #=> ["a", "b", "c", "d", "e", "f"]


@overload push(obj, ... )
  @return [Array]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Array#push;;;IC;	"
;
u;Array#push;0;
"@return [Array];[;[o:YARD::Tags::Tag
;
0;0:@types["
Array:
@text":@tag_name"return;0:@parameters[[:obj0[:...0;0:@signature"push(obj, ... );"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["array.c0:@namespaceu;
Array:
@path"Array#push;[:@visibility:public:@source"˙/* 
 *  call-seq:
 *     array.push(obj, ... )   -> array
 *  
 *  Append---Pushes the given object(s) on to the end of this array. This
 *  expression returns the array itself, so several appends
 *  may be chained together.
 *
 *     a = [ "a", "b", "c" ]
 *     a.push("d", "e", "f")  
 *             #=> ["a", "b", "c", "d", "e", "f"]
 */

static VALUE
rb_ary_push_m(argc, argv, ary)
    int argc;
    VALUE *argv;
    VALUE ary;
{
    while (argc--) {
    rb_ary_push(ary, *argv++);
    }
    return ary;
}:@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/Array/push_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Array/push_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Array/push_i.dat