489件ヒット
[1-100件を表示]
(0.081秒)
ライブラリ
クラス
-
ARGF
. class (12) - Array (12)
- CGI (24)
-
Encoding
:: Converter (12) -
Gem
:: Package :: TarOutput (12) - IO (12)
- Monitor (6)
-
MonitorMixin
:: ConditionVariable (12) -
Net
:: FTP (24) -
Net
:: HTTP (67) -
Net
:: IMAP (12) -
OpenSSL
:: SSL :: SSLContext (48) -
OpenSSL
:: SSL :: Session (24) -
RDoc
:: Options (24) -
REXML
:: Declaration (12) -
REXML
:: NotationDecl (12) -
RSS
:: ImageFaviconModel :: ImageFavicon (24) -
RSS
:: RDF :: Channel :: ImageFavicon (24) -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic (24) -
RSS
:: TrackBackModel20 :: TrackBackAbout (24) -
Rake
:: Application (12) - String (12)
- StringIO (12)
-
Thread
:: ConditionVariable (12) -
WIN32OLE
_ EVENT (12)
モジュール
- Kernel (8)
キーワード
- about (36)
- about= (36)
-
add
_ gem _ contents (12) - content (12)
- content= (12)
-
continue
_ timeout (12) -
continue
_ timeout= (12) - fetch (12)
-
force
_ output (12) -
force
_ output= (12) - header (12)
-
insert
_ output (12) - kconv (12)
-
keep
_ alive _ timeout= (12) - logout (12)
-
on
_ event _ with _ outargs (12) -
open
_ timeout= (24) -
read
_ nonblock (36) -
read
_ timeout= (24) -
ssl
_ timeout (12) -
ssl
_ timeout= (12) - timeout (32)
- timeout= (24)
-
tty
_ output= (12) - wait (24)
-
wait
_ for _ cond (6) - write (24)
-
write
_ timeout= (7)
検索結果
先頭5件
-
CGI
# out(options = "text / html") { . . . . } (18220.0) -
HTTP ヘッダと、ブロックで与えられた文字列を標準出力に出力します。
...す。
@param options Hash か文字列で HTTP ヘッダを生成するための情報を指定します。
例:
cgi = CGI.new
cgi.out{ "string" }
# Content-Type: text/html
# Content-Length: 6
#
# string
cgi.out("text/plain"){ "st......g" }
# 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: text/html; charset=iso-2022-jp
"language" => "ja",
"expires" => Time.now + (3600 * 24 * 30),
"cookie" => [cookie1,... -
Net
:: HTTP # continue _ timeout=(seconds) (12301.0) -
「100 Continue」レスポンスを待つ秒数を指定します。
...「100 Continue」レスポンスを待つ秒数を指定します。
この秒数待ってもレスポンスが来ない場合は
リクエストボディを送信します。
デフォルトは nil (待たない)です。
@param seconds 秒数
@see Net::HTTP#continue_timeout... -
WIN32OLE
_ EVENT # on _ event _ with _ outargs(event = nil) {|*args| . . . } -> () (12214.0) -
イベント通知を受けて結果を呼び出し元へ返すブロックを登録します。
...定します。引数を省略した場合は、すべて
のイベントを対象とするブロックの登録となります。
WIN32OLE_EVENT#on_eventと異なり、イベントのブロック変数に戻り値を
設定できます。
@param event イベント名を文字列かシンボルで......ン
トソースと切断済みです。
ie = WIN32OLE.new('InternetExplorer.Application')
ev = WIN32OLE_EVENT.new(ie, 'DWebBrowserEvents2')
ev.on_event('BeforeNavigate2') do |*args|
args[6] = true unless args[4] # Cancel = true unless PostData
end
当メ... -
Net
:: HTTP # continue _ timeout -> Integer | nil (12201.0) -
「100 Continue」レスポンスを待つ秒数を返します。
...「100 Continue」レスポンスを待つ秒数を返します。
この秒数待ってもレスポンスが来ない場合は
リクエストボディを送信します。
デフォルトは nil (待たない)です。
@see Net::HTTP#continue_timeout=... -
RSS
:: ImageFaviconModel :: ImageFavicon # about (12101.0) -
@todo
@todo -
RSS
:: ImageFaviconModel :: ImageFavicon # about= (12101.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # about (12101.0) -
@todo
@todo -
RSS
:: TaxonomyTopicModel :: TaxonomyTopic # about= (12101.0) -
@todo
@todo -
Monitor
# wait _ for _ cond(cond , timeout) -> bool (9301.0) -
MonitorMixin::ConditionVariable 用の内部メソッドです。
...MonitorMixin::ConditionVariable 用の内部メソッドです。
@param cond Thread::ConditionVariable を指定します。
@param timeout タイムアウトまでの秒数。指定しなかった場合はタイムアウトしません。
@return タイムアウトしたときは false を返し......ます。それ以外は true を返します。
//emlist[例][ruby]{
require 'monitor'
m = Monitor.new
cv = Thread::ConditionVariable.new
m.enter
m.wait_for_cond(cv, 1)
//}...