48件ヒット
[1-48件を表示]
(0.076秒)
ライブラリ
-
rexml
/ document (24)
クラス
-
REXML
:: Comment (12) -
REXML
:: DocType (12) -
WEBrick
:: Cookie (24)
キーワード
-
attributes
_ of (12) - comment= (12)
- string= (12)
検索結果
先頭4件
-
WEBrick
:: Cookie # comment -> String (18110.0) -
コメントを文字列で表すアクセサです。
...コメントを文字列で表すアクセサです。
@param value コメントを文字列で指定します。... -
WEBrick
:: Cookie # comment=(value) (6210.0) -
コメントを文字列で表すアクセサです。
...コメントを文字列で表すアクセサです。
@param value コメントを文字列で指定します。... -
REXML
:: Comment # string=(value) (3108.0) -
コメント文字列を設定します。
...コメント文字列を設定します。
@param value 設定する文字列... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (25.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...ジェクトの
REXML::Attribute#name と
REXML::Attribute#value で表現されます。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT book (comment)>
<!ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED......title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attributes_of("book")
# => [author='', title='', publisher='foobar publisher']
p doctype.attributes_of("book")[0].name # => "author"
p doctype.attributes_of("book")[0].value # => ""
//}...