るりまサーチ

最速Rubyリファレンスマニュアル検索!
410件ヒット [401-410件を表示] (0.018秒)
トップページ > クエリ:empty?[x]

別のキーワード

  1. _builtin empty?
  2. dbm empty?
  3. csv empty?
  4. set empty?
  5. gdbm empty?

ライブラリ

クラス

モジュール

オブジェクト

キーワード

検索結果

<< < ... 3 4 5 >>

制御構造 (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はもっとも内側のループの次の繰り返しにジャンプしま...
<< < ... 3 4 5 >>