るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. constants lock_ex
  2. _builtin lock_ex
  3. sync ex
  4. sync sync_ex_count
  5. sync_m ex

ライブラリ

クラス

検索結果

REXML::DocType#attributes_of(element) -> [REXML::Attribute] (72958.0)

DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。

DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている
属性の名前とデフォルト値を REXML::Attribute の配列で返します。

名前とデフォルト値のペアは、各 Attribute オブジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。

//emlist[][ruby]{
require 'rexml/document'

doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (c...