るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.019秒)

別のキーワード

  1. matrix collect
  2. _builtin collect
  3. matrix collect!
  4. _builtin collect_concat
  5. set collect!

クラス

検索結果

REXML::Elements#collect(xpath = nil) {|element| .. } -> [object] (54361.0)

Enumerable#collect と同様、 各子要素に対しブロックを呼び出し、その返り値の配列を返します。

Enumerable#collect と同様、
各子要素に対しブロックを呼び出し、その返り値の配列を返します。

xpath を指定した場合は、その XPath 文字列に
マッチする要素に対し同様の操作をします。

@param xpath XPath文字列
@see REXML::Elements#each