るりまサーチ

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

別のキーワード

  1. pstore root?
  2. psych root
  3. document root
  4. rexml/document root
  5. pathname root?

ライブラリ

クラス

検索結果

REXML::Attributes#to_a -> [Attribute] (21321.0)

属性の配列を返します。

...属性の配列を返します。

//emlist[][ruby]{
require 'rexml/document'
doc = REXML::Document.new("<a x='1' y='2' z='3' />")
doc.root.attributes.to_a # => [x='1', y='2', z='3']
//}...