るりまサーチ

最速Rubyリファレンスマニュアル検索!
24件ヒット [1-24件を表示] (0.022秒)
トップページ > クエリ:rexml/document[x] > クエリ:add_attribute[x] > 種類:特異メソッド[x]

別のキーワード

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

ライブラリ

クラス

検索結果

REXML::Attribute.new(attribute, value, parent = nil) -> REXML::Attribute (8007.0)

新たな属性オブジェクトを生成します。

...できます。
parent を省略した場合は nil が設定されます。

通常はこのメソッドは直接は使わず、REXML::Element#add_attribute などを
使うでしょう。

@param attribute_to_clone 複製元の REXML::Attribute オブジェクト
@param attribute 属性名
@param...

REXML::Attribute.new(attribute_to_clone, parent = nil) -> REXML::Attribute (8007.0)

新たな属性オブジェクトを生成します。

...できます。
parent を省略した場合は nil が設定されます。

通常はこのメソッドは直接は使わず、REXML::Element#add_attribute などを
使うでしょう。

@param attribute_to_clone 複製元の REXML::Attribute オブジェクト
@param attribute 属性名
@param...