るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.113秒)
トップページ > バージョン:2.3.0[x] > 種類:インスタンスメソッド[x] > クエリ:@[x] > クエリ:x[x] > クエリ:new[x] > クエリ:value[x] > クラス:REXML::Attributes[x]

別のキーワード

  1. x509 v_ok
  2. openssl x509
  3. x509 trust_email
  4. x509 purpose_any
  5. x509 trust_compat

ライブラリ

検索結果

REXML::Attributes#[]=(name, value) (9364.0)

指定した属性を更新します。

.../example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att='2' att='&lt;'/>
</root>
EOS
a = doc.get_elements("/root/a").first

a.attributes["att"] = "9"
a.attributes["foo:attt"] = "8"
a # => <a foo:att='1' bar:att='2' att='9' foo:attt='8'/>
//}

@see REXML::Attributes#add...