るりまサーチ

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

別のキーワード

  1. _builtin to_r
  2. open3 pipeline_r
  3. matrix elements_to_r
  4. document root
  5. pstore root?

ライブラリ

クラス

検索結果

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

属性の配列を返します。

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

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