132件ヒット
[1-100件を表示]
(0.089秒)
ライブラリ
-
cgi
/ core (12) -
rake
/ rdoctask (24) -
rdoc
/ context (36) -
rexml
/ document (48)
クラス
- CGI (12)
-
RDoc
:: Context (12) -
RDoc
:: Context :: Section (24) -
RDoc
:: Options (12) -
REXML
:: DocType (48) -
Rake
:: RDocTask (24)
キーワード
-
attribute
_ of (12) -
attributes
_ of (12) -
external
_ id (12) - header (12)
-
set
_ comment (12) -
set
_ current _ section (12) - write (12)
検索結果
先頭5件
-
RDoc
:: Context :: Section # title -> String | nil (18202.0) -
section のタイトルを返します。
section のタイトルを返します。 -
RDoc
:: Options # title -> String | nil (18202.0) -
ドキュメントのタイトルを返します。指定されていない場合は nil を返します。
ドキュメントのタイトルを返します。指定されていない場合は nil を返します。 -
Rake
:: RDocTask # title -> String (18202.0) -
RDoc のタイトルを返します。 デフォルト値はありません。
RDoc のタイトルを返します。
デフォルト値はありません。 -
RDoc
:: Context # set _ current _ section(title , comment) -> () (202.0) -
Handle sections
Handle sections -
CGI
# header(options = "text / html") -> String (197.0) -
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。
...ん。
ヘッダのキーとしては以下が利用可能です。
: type
Content-Type ヘッダです。デフォルトは "text/html" です。
: charset
ボディのキャラクタセットを Content-Type ヘッダに追加します。
: nph
真偽値を指定します。真ならば、......応します。
: length
送信するコンテンツの長さを指定します。Content-Length ヘッダに対応します。
: language
送信するコンテンツの言語を指定します。Content-Language ヘッダに対応します。
: expires
送信するコンテンツの有効期......Set-Cookie ヘッダに対応します。
status パラメータには以下の文字列が使えます。
"OK" --> "200 OK"
"PARTIAL_CONTENT" --> "206 Partial Content"
"MULTIPLE_CHOICES" --> "300 Multiple Choices"
"MOVED" --> "... -
REXML
:: DocType # external _ id -> String | nil (119.0) -
DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の いずれかの文字列を返します。
...html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype.name # => "html"
doctype.external_id # => "PUBLIC"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT books (book+)>
<!ELEMENT book (title,author)>... -
Rake
:: RDocTask # options -> Array (119.0) -
rdoc コマンドに渡すオプションのリストを返します。
...rdoc コマンドに渡すオプションのリストを返します。
指定できるオプションは -o, --main, --title, -T 以外です。... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (113.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
...REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
]>
EOS
p doctype.attribute_of("book", "publisher") # => "foobar publisher"
p doctype.attribute_of("bar", "foo") # => nil
p doctype.attribute_of("book", "baz") # => nil
p doctype.attribute_of("book", "title") # =>... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (113.0) -
DTD 内の属性リスト宣言で、 element という名前の要素に対し宣言されている 属性の名前とデフォルト値を REXML::Attribute の配列で返します。
...t)>
<!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 # =>...