種類
- インスタンスメソッド (44)
- ライブラリ (5)
- クラス (5)
- 特異メソッド (1)
- モジュール関数 (1)
ライブラリ
- ビルトイン (1)
-
cgi
/ core (1) -
rake
/ rdoctask (3) -
rdoc
/ context (5) -
rexml
/ document (4) - rss (35)
クラス
- CGI (1)
-
RDoc
:: Context (1) -
RDoc
:: Context :: Section (3) -
RDoc
:: Options (2) -
REXML
:: DocType (4) -
RSS
:: Maker :: ChannelBase (2) -
RSS
:: Maker :: ImageBase (2) -
RSS
:: Maker :: ItemsBase :: ItemBase (2) -
RSS
:: Maker :: TextinputBase (2) -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet (2) -
RSS
:: RDF :: Channel (2) -
RSS
:: RDF :: Image (2) -
RSS
:: RDF :: Item (2) -
RSS
:: RDF :: Textinput (2) -
RSS
:: Rss :: Channel (2) -
RSS
:: Rss :: Channel :: Image (2) -
RSS
:: Rss :: Channel :: Item (2) -
RSS
:: Rss :: Channel :: TextInput (2) -
RSS
:: XMLStyleSheet (2) -
Rake
:: RDocTask (3)
モジュール
- DublinCoreModel (3)
- Process (1)
キーワード
- ChannelBase (1)
- ImageBase (1)
- ItemBase (1)
- Section (1)
- TextinputBase (1)
-
attribute
_ of (1) -
attributes
_ of (1) - cgi (1)
-
cgi
/ session (1) -
dc
_ title (1) -
dc
_ title= (1) -
dc
_ titles (1) -
external
_ id (1) - header (1)
- new (1)
- rdoc (1)
-
rexml
/ document (1) - rss (1)
-
set
_ comment (1) -
set
_ current _ section (1) - setproctitle (1)
- title= (16)
- write (1)
検索結果
先頭5件
-
RSS
:: Maker :: ChannelBase # title (54307.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # title (54307.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # title (54307.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # title (54307.0) -
@todo
@todo -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet # title (54307.0) -
@todo
@todo -
RSS
:: RDF :: Channel # title (54307.0) -
@todo
@todo -
RSS
:: RDF :: Image # title (54307.0) -
@todo
@todo -
RSS
:: RDF :: Item # title (54307.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # title (54307.0) -
@todo
@todo -
RSS
:: Rss :: Channel # title (54307.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # title (54307.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # title (54307.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # title (54307.0) -
@todo
@todo -
RSS
:: XMLStyleSheet # title (54307.0) -
@todo
@todo -
RDoc
:: Context :: Section # title -> String | nil (54304.0) -
section のタイトルを返します。
section のタイトルを返します。 -
RDoc
:: Options # title -> String | nil (54304.0) -
ドキュメントのタイトルを返します。指定されていない場合は nil を返します。
ドキュメントのタイトルを返します。指定されていない場合は nil を返します。 -
Rake
:: RDocTask # title -> String (54304.0) -
RDoc のタイトルを返します。 デフォルト値はありません。
RDoc のタイトルを返します。
デフォルト値はありません。 -
Process
. # setproctitle(title) -> String (18652.0) -
ps(1) が出力する現在実行中の Ruby スクリプトの名前を引数 title で指定した文字列に変更します。
ps(1) が出力する現在実行中の Ruby スクリプトの名前を引数 title
で指定した文字列に変更します。
OS によっては何も行われません。また、処理結果に関係なく例外は発生しませ
ん。サポートされる OS ではない場合であっても NotImplementedError
が発生する事はありません。本メソッドを実行しても $0 への影響はあ
りません。
Process.setproctitle('myapp: worker #%d' % worker_id)
本メソッドは 2.1 以降でグローバル変数を用いないで現在実行中の Ruby スク
リプトの名前を表す文字列を設定す... -
Rake
:: RDocTask # title=(title) (18625.0) -
RDoc のタイトルをセットします。
RDoc のタイトルをセットします。
@param title タイトルを指定します。 -
RDoc
:: Options # title=(string) (18322.0) -
ドキュメントのタイトルがまだ設定されていない場合に string で指定した文 字列に設定します。
ドキュメントのタイトルがまだ設定されていない場合に string で指定した文
字列に設定します。
コマンドライン引数で既に --title オプションが指定されていた場合には、そ
ちらを優先します。
@param string 設定するタイトルを文字列で指定します。 -
DublinCoreModel
# dc _ title (18307.0) -
@todo
@todo -
DublinCoreModel
# dc _ title= (18307.0) -
@todo
@todo -
RSS
:: Maker :: ChannelBase # title=() (18307.0) -
@todo
@todo -
RSS
:: Maker :: ImageBase # title=() (18307.0) -
@todo
@todo -
RSS
:: Maker :: ItemsBase :: ItemBase # title=() (18307.0) -
@todo
@todo -
RSS
:: Maker :: TextinputBase # title=() (18307.0) -
@todo
@todo -
RSS
:: Maker :: XMLStyleSheets :: XMLStyleSheet # title=() (18307.0) -
@todo
@todo -
RSS
:: RDF :: Channel # title= (18307.0) -
@todo
@todo -
RSS
:: RDF :: Image # title= (18307.0) -
@todo
@todo -
RSS
:: RDF :: Item # title= (18307.0) -
@todo
@todo -
RSS
:: RDF :: Textinput # title= (18307.0) -
@todo
@todo -
RSS
:: Rss :: Channel # title= (18307.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Image # title= (18307.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: Item # title= (18307.0) -
@todo
@todo -
RSS
:: Rss :: Channel :: TextInput # title= (18307.0) -
@todo
@todo -
RSS
:: XMLStyleSheet # title= (18307.0) -
@todo
@todo -
DublinCoreModel
# dc _ titles (18301.0) -
@todo
@todo -
rss (991.0)
-
RSS を扱うためのライブラリです。
RSS を扱うためのライブラリです。
=== 参考
* RSS 0.91 http://backend.userland.com/rss091
* RSS 1.0 http://purl.org/rss/1.0/spec
* RSS 2.0 http://www.rssboard.org/rss-specification
* Atom 1.0 https://www.ietf.org/rfc/rfc4287.txt
=== 注意
RSS ParserはRSS 0.9x/1.0/2.0, Atom 1.0 をサポートしていますが,RSS 0.90
はサポートしてませ... -
RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section (322.0) -
自身を初期化します。
自身を初期化します。
@param parent RDoc::Context オブジェクトを指定します。
@param title section のタイトルを文字列で指定します。
@param comment section のコメントを文字列で指定します。
また、section のシーケンス番号を新しく作成します。 -
rexml
/ document (307.0) -
DOM スタイルの XML パーサ。
DOM スタイルの XML パーサ。
REXML::Document.new で XML 文書から DOM ツリーを
構築し、ツリーのノードの各メソッドで文書の内容にアクセスします。
以下のプログラムではブックマークの XML からデータを取り出します。
//emlist[][ruby]{
require 'rexml/document'
require 'pp'
Bookmark = Struct.new(:href, :title, :desc)
doc = REXML::Document.new(<<XML)
<?xml version="1.0" encoding="UTF-... -
RDoc
:: Context # set _ current _ section(title , comment) -> () (304.0) -
Handle sections
Handle sections -
cgi
/ session (127.0) -
CGI のセッション管理を行うライブラリ。
CGI のセッション管理を行うライブラリ。
セッションとは、HTTP の一連のリクエストとレスポンスが属するべき
コンテクスト (状況) のことをいいます。
セッション管理には従来通り cgi ライブラリが提供する
クッキーを使用してもいいですが、
この cgi/session を使用した方がよりわかりやすいでしょう。
セッション情報は Hash ライクなインターフェースです。
セッションはセッション ID とプログラムが記録した
セッション情報から構成されます。
デフォルトでは CGI::Session::FileStore が使用され、
記録できるのは文字列のみです。
セッション情報... -
rdoc (127.0)
-
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という ドキュメント生成のためのコマンドも含んでいます。
RDoc は Ruby のドキュメント生成を行うためのライブラリです。rdoc という
ドキュメント生成のためのコマンドも含んでいます。
このパッケージは RDoc と Markup というふたつのコンポーネントを含
んでいます。 RDoc とは Ruby のソースファイルに対するドキュメントを生成
するアプリケーションです。 JavaDoc と同様に、ソースを解析し、クラス、モ
ジュール、メソッドの定義を抜き出してきます(include,require もです)。そ
してこれらの内容とその直前に書かれたコメントを併合し、ドキュメントを出
力します(現在は HTML しか出力できませんが、こ... -
RSS
:: Maker :: ImageBase (67.0) -
RSS 1.0の場合はurl,title, maker.channel.link,maker.channelが適切に設定さ れている必要があります.
RSS 1.0の場合はurl,title,
maker.channel.link,maker.channelが適切に設定さ
れている必要があります.
RSS 0.91/2.0の場合はurl,title,
maker.channel.linkが適切に設定されている必要があります. -
RSS
:: Maker :: TextinputBase (67.0) -
RSS 1.0の場合はtitle,description,name, link,maker.channelを適切に設定する必要がありま す.
RSS 1.0の場合はtitle,description,name,
link,maker.channelを適切に設定する必要がありま
す.
RSS 0.91/2.0の場合はtitle,description,
name,linkを設定する必要があります. -
CGI
# header(options = "text / html") -> String (55.0) -
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。
HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。
CGI#out を使わずに自力で HTML を出力したい場合などに使います。
このメソッドは文字列エンコーディングを変換しません。
ヘッダのキーとしては以下が利用可能です。
: type
Content-Type ヘッダです。デフォルトは "text/html" です。
: charset
ボディのキャラクタセットを Content-Type ヘッダに追加します。
: nph
真偽値を指定します。真ならば、HTTP のバージョン、ステータスコード、
Date ヘッ... -
RSS
:: Maker :: ChannelBase (55.0) -
channel要素の値を設定します.
channel要素の値を設定します.
RSS 1.0を生成する場合はabout,title,link,
descriptionを設定しなければいけません.
RSS 0.91を生成する場合はtitle,link,
description,languageを設定しなければいけません.
RSS 2.0を生成する場合はtitle,link,
descriptionを設定しなければいけません.
maker.channelになんらかの値を設定しておきながら,上記
のmaker.channelが要求する値を設定していない場合は
RSS::NotSetError例外が発生します.どの値も設定していな
... -
REXML
:: DocType # attribute _ of(element , attribute) -> String | nil (37.0) -
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という 名前の属性のデフォルト値を返します。
DTD 内の属性リスト宣言で、 element という名前の要素の attribute という
名前の属性のデフォルト値を返します。
elementという名前の要素の属性値は宣言されていない、
elementという名前の要素にはattributeという名前の属性が宣言されていない、
もしくはデフォルト値が宣言されていない、のいずれかの場合は nil を返します。
@param element 要素名(文字列)
@param attribute 属性名(文字列)
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Doc... -
REXML
:: DocType # attributes _ of(element) -> [REXML :: Attribute] (37.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... -
REXML
:: DocType # external _ id -> String | nil (37.0) -
DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の いずれかの文字列を返します。
DTD が外部サブセットを用いている場合は "SYSTEM", "PUBLIC" の
いずれかの文字列を返します。
それ以外の場合は nil を返します。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
EOS
doctype.... -
RSS
:: Maker :: ItemsBase :: ItemBase (37.0) -
itemはmaker.items.new_itemで作成されたオブジェク トとします.
itemはmaker.items.new_itemで作成されたオブジェク
トとします.
RSS 1.0/0.91の場合はtitle,linkを設定する必要があ
ります.
RSS 2.0の場合はtitleまたはdescriptionを設定する
必要があります. -
cgi (37.0)
-
CGI プログラムの支援ライブラリです。
CGI プログラムの支援ライブラリです。
CGI プロトコルの詳細については以下の文書を参照してください。
* https://tools.ietf.org/html/draft-coar-cgi-v11-03
* 3875: The Common Gateway Interface (CGI) Version 1.1
* https://www.w3.org/CGI/
=== 使用例
==== フォームフィールドの値を得る
//emlist[][ruby]{
require "cgi"
cgi = CGI.new
values = cgi['field_name'] ... -
RDoc
:: Context :: Section (19.0) -
section に関する情報を保持するクラスです。
section に関する情報を保持するクラスです。
ドキュメント中で以下のように記述した情報を保持しています。
# :section: The title
# The body -
RDoc
:: Context :: Section # set _ comment(comment) -> () (19.0) -
自身にコメントを設定します。
自身にコメントを設定します。
@param comment 文字列を指定します。
comment の最初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。
# ---------------------
# :section: The title
# The body
# --------------------- -
REXML
:: DocType # write(output , indent = 0 , transitive = false , ie _ hack = false) -> () (19.0) -
output に DTD を出力します。
output に DTD を出力します。
このメソッドは deprecated です。REXML::Formatter で
出力してください。
@param output 出力先の IO オブジェクト
@param indent インデントの深さ。指定しないでください。
@param transitive 無視されます。指定しないでください。
@param ie_hack 無視されます。指定しないでください。
//emlist[][ruby]{
require 'rexml/document'
doctype = REXML::Document.new(<<EOS).doctype
<... -
Rake
:: RDocTask # options -> Array (19.0) -
rdoc コマンドに渡すオプションのリストを返します。
rdoc コマンドに渡すオプションのリストを返します。
指定できるオプションは -o, --main, --title, -T 以外です。