るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. parent []=
  2. parent each_index
  3. parent delete_if
  4. pathname parent
  5. parent each_child

ライブラリ

モジュール

検索結果

REXML::Node#index_in_parent -> Insteger (81610.0)

self の親における index を返します。

self の親における index を返します。

返される index は 1-origin です。

ノードが親を持たない(REXML::Child でない)場合は例外を発生させます。