るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.018秒)
トップページ > バージョン:2.4.0[x] > クエリ:<[x] > クエリ:prefixes[x]

別のキーワード

  1. _builtin <
  2. bigdecimal <
  3. complex <
  4. integer <
  5. module <

ライブラリ

クラス

検索結果

REXML::Attributes#prefixes -> [String] (54376.0)

self の中で宣言されている prefix の集合を 文字列の配列で返します。

self の中で宣言されている prefix の集合を
文字列の配列で返します。

self が属する要素より上位の要素で定義されているものは含みません。

//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='2' att='&lt;'/>
</root>
EOS
a = doc...