136件ヒット
[1-100件を表示]
(0.042秒)
種類
- インスタンスメソッド (84)
- ライブラリ (36)
- モジュール関数 (12)
- 文書 (4)
ライブラリ
- ビルトイン (12)
-
cgi
/ core (12) -
rake
/ rdoctask (12) -
rdoc
/ context (12) -
rexml
/ document (24)
クラス
- CGI (12)
-
RDoc
:: Context :: Section (12) -
RDoc
:: Options (24) -
REXML
:: DocType (24) -
Rake
:: RDocTask (12)
モジュール
- Process (12)
キーワード
-
NEWS for Ruby 3
. 1 . 0 (4) -
attribute
_ of (12) - cgi (12)
-
external
_ id (12) - header (12)
- rdoc (12)
- rss (12)
- setproctitle (12)
- title= (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 のタイトルを返します。
デフォルト値はありません。 -
Process
. # setproctitle(title) -> String (6318.0) -
ps(1) が出力する現在実行中の Ruby スクリプトの名前を引数 title で指定した文字列に変更します。
...ps(1) が出力する現在実行中の Ruby スクリプトの名前を引数 title
で指定した文字列に変更します。
OS によっては何も行われません。また、処理結果に関係なく例外は発生しませ
ん。サポートされる OS ではない場合であって......tImplementedError
が発生する事はありません。本メソッドを実行しても $0 への影響はあ
りません。
Process.setproctitle('myapp: worker #%d' % worker_id)
本メソッドは 2.1 以降でグローバル変数を用いないで現在実行中の Ruby スク
リプト... -
RDoc
:: Options # title=(string) (6230.0) -
ドキュメントのタイトルがまだ設定されていない場合に string で指定した文 字列に設定します。
...トルがまだ設定されていない場合に string で指定した文
字列に設定します。
コマンドライン引数で既に --title オプションが指定されていた場合には、そ
ちらを優先します。
@param string 設定するタイトルを文字列で指定し... -
rss (366.0)
-
RSS を扱うためのライブラリです。
...サポートしていません.
=== パース
RSS をパースしたい場合は RSS::Parser クラスを使います。
RSS::Parser.parse は String の RSSを パースします(使用するXMLパー
サによっては File や IO オブジェクトなどでもパース可能です)。
* RSS......RSS::Rss オブジェクト
* Atom をパースした場合は RSS::Atom::Feed オブジェクト
をそれぞれ返します。パースした
String が well formed な XML で無い場合は,
例外 RSS::NotWellFormedError が発生します。well formed な
XML だが,RSS 0.9x/1.0/2.0, At......れます.
Hash:
{
:href => "...",
:type => "...",
:title => "...",
:media => "...",
:charset => "...",
:alternate => "...",
}
連想配列:
[
[:href, "..."],
[:type, "..."],
[:title, "..."],
[:media, "..."],
[:charset, "..."],
[:alternate,... -
CGI
# header(options = "text / html") -> String (119.0) -
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。
...my_header1" => "my_value",
"my_header2" => "my_value"})
例:
cgi = CGI.new('html3')
print cgi.header({"charset" => "shift_jis", "status" => "OK"})
print "<html><head><title>TITLE</title></head>\r\n"
print "<body>BODY</body></html>\r\n"
@see 35911... -
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 # external _ id -> String | nil (113.0) -
DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の いずれかの文字列を返します。
...me # => "html"
doctype.external_id # => "PUBLIC"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE books [
<!ELEMENT books (book+)>
<!ELEMENT book (title,author)>
<!ELEMENT title (#PCDATA)>
<!ELEMENT author (#PCDATA)>
]>
EOS
doctype.name # => "books"
doctype.external_id # => nil
//}...