るりまサーチ

最速Rubyリファレンスマニュアル検索!
168件ヒット [101-168件を表示] (0.137秒)

別のキーワード

  1. string []=
  2. string slice
  3. string slice!
  4. string []
  5. string gsub

ライブラリ

モジュール

キーワード

検索結果

<< < 1 2 >>

Net::IMAP::StatusData#attr -> { String => Integer } (3118.0)

STATUS 応答の内容をハッシュで返します。

...STATUS 応答の内容をハッシュで返します。

ハッシュのキーは
"MESSAGES", "RECENT", "UIDNEXT", "UIDVALIDITY", "UNSEEN"
などが使われます。

詳しくは 2060 の 6.3.10、7.2.4 を見てください。...

Net::IMAP::StatusData#mailbox -> String (3102.0)

メールボックス名を返します。

メールボックス名を返します。

Process::Status#to_s -> String (3102.0)

to_i.to_s と同じです。

to_i.to_s と同じです。

CGI#header(options = "text/html") -> String (132.0)

HTTP ヘッダを options に従って生成します。 CGI#out と違い、標準出力には出力しません。 CGI#out を使わずに自力で HTML を出力したい場合などに使います。 このメソッドは文字列エンコーディングを変換しません。

...ダにもデフォルト値をセットします。
偽を指定する場合は、これらの値を明示的にセットしてください。
: status
HTTP のステータスコードを指定します。
このリストの下に利用可能なステータスコードのリストがありま...
...インスタンス、またはそれらの配列かハッシュを指定します。
一つ以上の Set-Cookie ヘッダに対応します。

status
パラメータには以下の文字列が使えます。

"OK" --> "200 OK"
"PARTIAL_CONTENT" --> "206 Partia...
...header("text/plain")
# Content-Type: text/plain

header({"nph" => true,
"status" => "OK", # == "200 OK"
# "status" => "200 GOOD",
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",...

WEBrick::HTTPResponse#reason_phrase -> String | nil (118.0)

HTTP のレスポンスの最初の行の reason phrase を返します。 この値が nil の場合 reason phrase は status から生成されます。 デフォルトは nil です。

...HTTP のレスポンスの最初の行の reason phrase を返します。
この値が nil の場合 reason phrase は status から生成されます。
デフォルトは nil です。...

絞り込み条件を変える

CGI#out(options = "text/html") { .... } (37.0)

HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。

...CGI.new
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string

cgi.out("text/plain"){ "string" }
# Content-Type: text/plain
# Content-Length: 6
#
# string

cgi.out({"nph"...
...=> true,
"status" => "OK", # == "200 OK"
"server" => ENV['SERVER_SOFTWARE'],
"connection" => "close",
"type" => "text/html",
"charset" => "iso-2022-jp",
# Content-Type: tex...
...tml; charset=iso-2022-jp
"language" => "ja",
"expires" => Time.now + (3600 * 24 * 30),
"cookie" => [cookie1, cookie2],
"my_header1" => "my_value",
"my_header2" => "my_value"}){ "string" }

@see CGI#header...
<< < 1 2 >>