T
Tyrel R.
Hello everyone,
I come from the low level C land and I am really loving ruby but I am
trying to understand its behaviour.
Can anyone tell me if there is something different going on under the
hood between these two loops.
for var in class.each do
#stuff
end
class.each do |var|
#stuff
end
I come from the low level C land and I am really loving ruby but I am
trying to understand its behaviour.
Can anyone tell me if there is something different going on under the
hood between these two loops.
for var in class.each do
#stuff
end
class.each do |var|
#stuff
end