Open main menu
Changes
Ruby Ranges
No change in size
,
19:10, 20 November 2007
→
Using Range Methods
=> ["cal", "cam", "can", "cao", "cap", "caq", "car"]
words.each {|word| puts "Hello " + word} # iterate through each value and
preform
perform
a task
Hello cab
Hello cac
← Older edit
Newer edit →
Neil
Bureaucrat
,
administrator
34,333
edits