るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.058秒)
トップページ > バージョン:2.3.0[x] > クエリ:Hash.new[x] > クエリ:Marshal フォーマット[x] > クエリ:namespaces[x] > クラス:REXML::Attributes[x]

別のキーワード

  1. _builtin marshal_dump
  2. marshal dump
  3. _builtin marshal_load
  4. pstore empty_marshal_data
  5. pstore empty_marshal_checksum

ライブラリ

検索結果

REXML::Attributes#namespaces -> { String => String } (40.0)

self の中で宣言されている名前空間の集合を返します。

self の中で宣言されている名前空間の集合を返します。

返り値は名前空間の prefix をキーとし、URI を値とする
Hash を返します。

//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.ge...