ライブラリ
- ビルトイン (122)
- csv (22)
- dbm (11)
- gdbm (11)
- matrix (11)
-
minitest
/ spec (1) -
minitest
/ unit (1) - monitor (22)
- pathname (8)
- pp (11)
- readline (11)
-
rexml
/ document (22) -
rexml
/ parsers / pullparser (11) -
rubygems
/ package / tar _ header (11) - sdbm (11)
- set (11)
- strscan (22)
- thread (2)
- thwait (12)
クラス
- Array (11)
-
CSV
:: Row (11) -
CSV
:: Table (11) - DBM (11)
- Dir (8)
- File (16)
- GDBM (11)
-
Gem
:: Package :: TarHeader (11) - Hash (11)
- Matrix (11)
- Object (12)
- Pathname (8)
-
REXML
:: Elements (11) -
REXML
:: Parsers :: PullParser (11) -
REXML
:: Text (11) - SDBM (11)
- Set (11)
- String (11)
- StringScanner (22)
- Symbol (11)
-
Thread
:: Queue (11) -
Thread
:: SizedQueue (7) - ThreadsWait (12)
モジュール
- FileTest (16)
- Kernel (11)
-
MiniTest
:: Assertions (1)
オブジェクト
- ENV (11)
-
Readline
:: HISTORY (11)
キーワード
- Monitor (11)
- MonitorMixin (11)
- Ruby用語集 (11)
-
assert
_ empty (1) -
cgi
/ session (11) - eos? (11)
-
must
_ be _ empty (1) -
net
/ pop (11) -
next
_ wait (6) - optparse (11)
- pp (11)
-
pretty
_ print _ cycle (11) -
ruby 1
. 8 . 2 feature (11) - warn (11)
- zero? (16)
- 制御構造 (11)
検索結果
先頭1件
-
制御構造 (6.0)
-
制御構造 条件分岐: * if * unless * case 繰り返し: * while * until * for * break * next * redo * retry 例外処理: * raise * begin その他: * return * BEGIN * END
...はその引数になります。
====[a:next] next
//emlist[例][ruby]{
# 空行を捨てるcat
ARGF.each_line do |line|
next if line.strip.empty?
print line
end
//}
文法:
next
next val
nextはもっとも内側のループの次の繰り返しにジャンプしま...