113件ヒット
[1-100件を表示]
(0.034秒)
別のキーワード
種類
- インスタンスメソッド (77)
- ライブラリ (22)
- 特異メソッド (11)
- 文書 (3)
ライブラリ
-
cgi
/ core (11) -
rake
/ rdoctask (11) -
rdoc
/ context (44) -
rexml
/ document (11)
クラス
- CGI (11)
-
RDoc
:: Context (11) -
RDoc
:: Context :: Section (33) -
RDoc
:: Options (11) -
REXML
:: DocType (11) -
Rake
:: RDocTask (11)
キーワード
-
NEWS for Ruby 3
. 1 . 0 (3) -
cgi
/ session (11) - header (11)
- new (11)
- rss (11)
-
set
_ comment (11) -
set
_ current _ section (11) - write (11)
検索結果
先頭5件
-
RDoc
:: Context :: Section # title -> String | nil (21201.0) -
section のタイトルを返します。
...section のタイトルを返します。... -
RDoc
:: Options # title -> String | nil (21201.0) -
ドキュメントのタイトルを返します。指定されていない場合は nil を返します。
ドキュメントのタイトルを返します。指定されていない場合は nil を返します。 -
RDoc
:: Context # set _ current _ section(title , comment) -> () (6301.0) -
Handle sections
...Handle sections... -
Rake
:: RDocTask # options -> Array (6218.0) -
rdoc コマンドに渡すオプションのリストを返します。
...rdoc コマンドに渡すオプションのリストを返します。
指定できるオプションは -o, --main, --title, -T 以外です。... -
cgi
/ session (6084.0) -
CGI のセッション管理を行うライブラリ。
...ession を使用した方がよりわかりやすいでしょう。
セッション情報は Hash ライクなインターフェースです。
セッションはセッション ID とプログラムが記録した
セッション情報から構成されます。
デフォルトでは CGI::Session:......uby
require 'cgi'
require 'cgi/session'
cgi = CGI.new('html3')
File.umask(0077)
session = CGI::Session.new(cgi)
cgi.out('charset'=>'euc-jp') {
html = cgi.html {
cgi.head { cgi.title {'Form Demo'} }
cgi.body {
cgi.form('action'=>"#{CGI.escapeHTML(cgi.script_name)}......}
}
}
}
CGI.pretty(html)
}
#=>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<BODY>
<FORM METHOD="post" ENCTYPE="application/x-www-form-urlencoded" action="/sample.rb">
<P>
あなたの名前は?
<INPUT NAME="... -
RDoc
:: Context :: Section . new(parent , title , comment) -> RDoc :: Context :: Section (3307.0) -
自身を初期化します。
...します。
@param parent RDoc::Context オブジェクトを指定します。
@param title section のタイトルを文字列で指定します。
@param comment section のコメントを文字列で指定します。
また、section のシーケンス番号を新しく作成します。... -
RDoc
:: Context :: Section # set _ comment(comment) -> () (3106.0) -
自身にコメントを設定します。
...初の行に :section: を含んでいた場合、その行以降の文字列をコ
メントとして設定します。そうでない場合は comment すべてをコメントとして
設定します。
# ---------------------
# :section: The title
# The body
# ---------------------... -
rss (402.0)
-
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 をサポートしていますが,RS......ュールはそれぞれ、
* Dublin Core モジュール http://web.resource.org/rss/1.0/modules/dc/
* Syndication モジュール http://web.resource.org/rss/1.0/modules/syndication/
* Content モジュール http://web.resource.org/rss/1.0/modules/content/
* Trackback モジュール http://......れます.
Hash:
{
:href => "...",
:type => "...",
:title => "...",
:media => "...",
:charset => "...",
:alternate => "...",
}
連想配列:
[
[:href, "..."],
[:type, "..."],
[:title, "..."],
[:media, "..."],
[:charset, "..."],
[:alternate,... -
NEWS for Ruby 3
. 1 . 0 (390.0) -
NEWS for Ruby 3.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。
...private def foo = puts "Hello" はパースされないことに注意してください。 17398
== コマンドラインオプション
* --disable-gems は"デバッグ専用"として明示的に宣言されました。デバッグ専用以外のコードでは使用しないでください......rependしている場合、継承ツリーを変更しません。 17423
* Module#private, Module#public, Module#protected, Module#module_functionが引数を返すようになりました。引数が1つでも渡されている場合、それが返されます。引数なしの場合、nilが......ラー位置を表示します。
//emlist[例][ruby]{
title = json[:article][:title]
//}
jsonがnilの時、
//emlist{
$ ruby test.rb
test.rb:2:in `<main>': undefined method `[]' for nil:NilClass (NoMethodError)
title = json[:article][:title]
^^^^^^^^^^
//}
json[:article] が返す... -
CGI
# header(options = "text / html") -> String (296.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 のバージョン......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...