M
Mark Mr
ok basically i cant quite figure out how to do a for loop i want in
ruby. Here's what i want to do in C++, with some ruby mixed in
for (i = 0; @question_array.nil?; i++)
{
code here....
}
it's supposed to run until it finds an element of the array that isnt
blank and then stop. anyone know how to make a loop like this in ruby?
thanks
ruby. Here's what i want to do in C++, with some ruby mixed in
for (i = 0; @question_array.nil?; i++)
{
code here....
}
it's supposed to run until it finds an element of the array that isnt
blank and then stop. anyone know how to make a loop like this in ruby?
thanks