T
T. Onoma
Can you see the bug'a'boo in the following snippet?
a[1..-1].each_with_index do |t,i|
puts "#{t} => #{a}"
# ...
end
Now, I understand why it happens, but nonethess I spent a good while tracking
it down (in a slightly more complex version). I guess that's just the way it
has to be, but it is quite unintuitive.
-t0
a[1..-1].each_with_index do |t,i|
puts "#{t} => #{a}"
# ...
end
Now, I understand why it happens, but nonethess I spent a good while tracking
it down (in a slightly more complex version). I guess that's just the way it
has to be, but it is quite unintuitive.
-t0