break 语句. 语法 break. 终止最内部的循环。如果在块内调用,则终止相关块的方法(方法返回nil)。 实例 #!/usr/bin/ruby # -*- coding: UTF-8 -*- for i in 0..5 if ...
確定! 回上一頁