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

Iterators

Description

RUBY Flashcards on Iterators, created by Edmond Pruteanu on 26/07/2014.
Edmond Pruteanu
Flashcards by Edmond Pruteanu, updated more than 1 year ago
Edmond Pruteanu
Created by Edmond Pruteanu almost 11 years ago
19
0
1 2 3 4 5 (0)

Resource summary

Question Answer
Execute code for each element in collection ary = [1,2,3,4,5] ary.each do |i| puts i end
Return all the elements of a collection collection = collection.collect
Show full summary Hide full summary

0 comments

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

Similar

Ruby Basics
Andrei Ilinca
Interesting Ruby Talks
tosbourn
Programming and Scripting Skills Needed
neteng33
A Simple Program
adriantrainor201
Capitulo 1
cachuan07
Economic burden of rare bone diseases
rpinedo
Variables
Edmond Pruteanu
Graph 1
rpinedo
Classes
Edmond Pruteanu
Ruby format sequences
YourCyborg