Arrays

Beschreibung

RUBY Karteikarten am Arrays, erstellt von Edmond Pruteanu am 26/07/2014.
Edmond Pruteanu
Karteikarten von Edmond Pruteanu, aktualisiert more than 1 year ago
Edmond Pruteanu
Erstellt von Edmond Pruteanu vor mehr als 10 Jahre
16
0

Zusammenfassung der Ressource

Frage Antworten
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
Zusammenfassung anzeigen Zusammenfassung ausblenden

ähnlicher Inhalt

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