60件ヒット
[1-60件を表示]
(0.117秒)
別のキーワード
クラス
-
RSS
:: ImageItemModel :: ImageItem (24) -
RSS
:: RDF :: Item (24)
モジュール
- Enumerable (12)
検索結果
先頭5件
-
RSS
:: ImageItemModel :: ImageItem # about (24103.0) -
@todo
@todo -
RSS
:: RDF :: Item # about (21103.0) -
@todo
@todo -
RSS
:: ImageItemModel :: ImageItem # about= (12103.0) -
@todo
@todo -
RSS
:: RDF :: Item # about= (9103.0) -
@todo
@todo -
Enumerable
# chunk {|elt| . . . } -> Enumerator (13.0) -
要素を前から順にブロックで評価し、その結果によって 要素をチャンクに分けた(グループ化した)要素を持つ Enumerator を返します。
...れ以外のアンダースコアで始まるシンボルを指定した場合は例外が発生します。
//emlist[例][ruby]{
[1, 2].chunk { |item| :_underscore }.to_a
# => RuntimeError: symbols beginning with an underscore are reserved
# 「.to_a」無しだと Enumerator を返すのみで......on.\n",
# "\n"]
# ["r16725 | knu | 2008-05-31 23:34:23 +0900 (Sat, 31 May 2008) | 2 lines\n",
# "\n",
# "* README, README.ja: Add a note about default C flags.\n",
# "\n"]
# ...
//}
テキストを空行で区切られた段落に分けたい場合にも nil が使えます。
//em...