るりまサーチ

最速Rubyリファレンスマニュアル検索!
11件ヒット [1-11件を表示] (0.035秒)
トップページ > クエリ:new[x] > クエリ:hash[x] > クラス:REXML::Attributes[x]

別のキーワード

  1. openssl new
  2. _builtin new
  3. rexml/document new
  4. resolv new
  5. socket new

ライブラリ

検索結果

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

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=...