Created
August 28, 2012 08:47
-
-
Save atton/3496304 to your computer and use it in GitHub Desktop.
next test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 0 から 5 まで出力 | |
(0..5).each do |num| | |
if num == 3 | |
next # 3だけ飛ばす | |
end | |
puts num | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment