Loading [MathJax]/jax/output/HTML-CSS/fonts/TeX/fontdata.js

Arrays

Descrição

RUBY FlashCards sobre Arrays, criado por Edmond Pruteanu em 26-07-2014.
Edmond Pruteanu
FlashCards por Edmond Pruteanu, atualizado more than 1 year ago
Edmond Pruteanu
Criado por Edmond Pruteanu quase 11 anos atrás
20
0
1 2 3 4 5 (0)

Resumo de Recurso

Questão Responda
Create array names = Array.new names = Array.new(20)
Assign values names = Array.new(4, "Edy")
Elements common to two arrays array & other_array
Concatenate two arrays array + other_array
Removing items from an array that also appear in another array array - other_array
Element at index position array.at(index)
Remove all elements from array array.clear
Delete element at index position array.delete_at(index)
Remove the last element from array array.pop
Push object to the end of array array.push(obj, ...)
Remove duplicate values from array array.uniq

0 comentários

There are no comments, be the first and leave one below:

Semelhante

Operator Precedence Rules in Ruby
Domhnall Murphy
JavaScript Fundamentals
Andrew Watters
Ruby Basics
Andrei Ilinca
Interesting Ruby Talks
tosbourn
Two-Dimensional Arrays
José Miguel Gallardo
Programming and Scripting Skills Needed
neteng33
Arrays - Vocabulary
vgeetha
A Simple Program
adriantrainor201
Capitulo 1
cachuan07