るりまサーチ

最速Rubyリファレンスマニュアル検索!
36件ヒット [1-36件を表示] (0.013秒)
トップページ > クエリ:document[x] > クラス:REXML::Child[x]

別のキーワード

  1. rexml/document new
  2. rexml/document write
  3. rexml/document to_s
  4. rexml/document clone
  5. rexml/document node_type

ライブラリ

キーワード

検索結果

REXML::Child#document -> REXML::Document | nil (18241.0)

そのノードが属する document (REXML::Document) を返します。

...そのノードが属する document (REXML::Document) を返します。

属する document が存在しない場合は nil を返します。...

REXML::Child#next_sibling=(other) (7.0)

other を self の次の隣接ノードとします。

...が持つ子ノード列の self の後ろに
other を挿入します。

@param other 挿入するノード

//emlist[][ruby]{
require 'rexml/document'

a = REXML::Element.new("a")
b = a.add_element("b")
c = REXML::Element.new("c")
b.next_sibling = c
d = REXML::Element.new("d")
b.previous_sibling...

REXML::Child#previous_sibling=(other) (7.0)

other を self の前の隣接ノードとします。

...ドが持つ子ノード列の self の前に
other を挿入します。

@param other 挿入するノード

//emlist[][ruby]{
require 'rexml/document'

a = REXML::Element.new("a")
b = a.add_element("b")
c = REXML::Element.new("c")
b.next_sibling = c
d = REXML::Element.new("d")
b.previous_sibling...