1件ヒット
[1-1件を表示]
(0.022秒)
クラス
検索結果
-
REXML
:: Attributes # delete _ all(name) -> [REXML :: Attribute] (54403.0) -
name という名前を持つ属性をすべて削除します。
...て削除します。
削除された属性を配列で返します。
@param name 削除する属性の名前
//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new(<<-EOS)
<root xmlns:foo="http://example.org/foo"
xmlns:bar="http://example.org/bar">
<a foo:att='1' bar:att=...