Ruby Keyword: for - rking/pry-docmore GitHub Wiki
A fairly rarely used keyword in Ruby, because we like to write the Enumerable on the left side to remind us that we're not programming in some other lanuage.
But, actually, it is a golf win:
(2..5).each do |i|
p i
end
Is equivalent to:
for i in 2..5
p i
end