Sha256: b02a82775e2321c0551c06faf58bee5d76ac001b9b7b474a0d5af743930b7b7d

Contents?: true

Size: 1.54 KB

Versions: 12

Compression:

Stored size: 1.54 KB

Contents

o:$YARD::CodeObjects::MethodObject:
@name:indexes:@docstringIC:YARD::Docstring"2Deprecated; use <code>Array#values_at</code>.
:@objectu:YARD::StubProxyArray#indexes:
@summary0:	@all"›Deprecated; use <code>Array#values_at</code>.


@overload indexes( i1, i2, ... iN )
  @return [Array]
@overload indices( i1, i2, ... iN )
  @return [Array]:@ref_tags[:
@tags[o:YARD::Tags::OverloadTag
;
u;Array#indexes;;;IC;	"
;
u;Array#indexes;0;
"@return [Array];[;[o:YARD::Tags::Tag
;
0;0:@types["
Array:
@text":@tag_name"return;0:@parameters[[:i10[:i20[:
...iN0;0:@signature"indexes( i1, i2, ... iN );"
overloado;
;
u;Array#indexes;:indices;IC;	"
;
u;Array#indexes;0;
"@return [Array];[;[o;
;
0;0;["
Array;";"return;0;[[;0[;0[;0;0;"indices( i1, i2, ... iN );"
overload:@current_file_has_commentsF:@scope:
instance;[:@docstring_extra0:@files[["array.c0:@namespaceu;
Array:
@path"Array#indexes;[:@visibility:public:@source"#/*
 *  call-seq:
 *     array.indexes( i1, i2, ... iN )   -> an_array
 *     array.indices( i1, i2, ... iN )   -> an_array
 *  
 *  Deprecated; use <code>Array#values_at</code>.
 */

static VALUE
rb_ary_indexes(argc, argv, ary)
    int argc;
    VALUE *argv;
    VALUE ary;
{
    VALUE new_ary;
    long i;

    rb_warn("Array#%s is deprecated; use Array#values_at", rb_id2name(rb_frame_last_func()));
    new_ary = rb_ary_new2(argc);
    for (i=0; i<argc; i++) {
    rb_ary_push(new_ary, rb_ary_aref(1, argv+i, ary));
    }

    return new_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/indexes_i.dat
pry-doc-0.4.3 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.4.2 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.4.1 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.4.0 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.3.0 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.2.4pre1 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.2.3pre1 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.2.1 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.2.0 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-doc-0.1.5pre1 lib/pry-doc/core_docs_18/objects/Array/indexes_i.dat
pry-0.6.9pre1-i386-mingw32 lib/pry/core_docs_18/objects/Array/indexes_i.dat