Ray's playground

 

Expressions(Chapter 9 of Programming Ruby)

  break terminates the immediately enclosing loop; control resumes at the statement following the block. redo repeats current iteration of the loop from the start but without reevaluating the condition or fetching the next element (in an iterator). next skips to the end of the loop, effectively starting the next iteration.

posted on 2010-07-03 20:24  Ray Z  阅读(123)  评论(0编辑  收藏  举报

导航