while. There are a few ways you can set up loops in Ruby. One of the most common, in a lot of languages really, is the while loop. Like so:.
確定! 回上一頁