array.each do |element| element.do_stuff end. or for element in array do element.do_stuff end. If you need index, you can use this:
確定! 回上一頁