An iterator is a looping construct in Ruby. It uses method syntax. ... values = [10, 20, 30] # Use each on the array of integers. # .
確定! 回上一頁