るりまサーチ

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

別のキーワード

  1. io/wait ready?
  2. io ready?
  3. smtp ready
  4. net/smtp ready

種類

ライブラリ

クラス

モジュール

検索結果

<< < 1 2 >>

Socket::MSG_HAVEMORE -> Integer (16.0)

@todo Data ready to be read

...@todo
Data ready to be read...

Socket::SO_WANTMORE -> Integer (16.0)

@todo Give a hint when more data is ready。

...@todo
Give a hint when more data is ready...

Socket::TCP_DEFER_ACCEPT -> Integer (16.0)

Don't notify a listening socket until data is ready。 BasicSocket#getsockopt, BasicSocket#setsockopt の第2引数(optname)に使用します。

...Don't notify a listening socket until data is ready
BasicSocket#getsockopt, BasicSocket#setsockopt
の第2引数(optname)に使用します。

@see tcp(7linux)...

Net::SMTP#open_message_stream(from_addr, *to_addrs) {|f| .... } -> () (7.0)

メール書き込みの準備をし、書き込み先のストリームオブジェクトを ブロックに渡します。ブロック終了後、書きこんだ結果が 送られます。

...rom: from@example.com'
f.puts 'To: to@example.net'
f.puts 'Subject: test mail'
f.puts
f.puts 'This is test mail.'
}
}

ready
は obsolete です。

@param from_addr 送信元のメールアドレス
@param to_addrs 送信先のメールアドレス(複数可、少な...

制御構造 (6.0)

制御構造 条件分岐: * if * unless * case 繰り返し: * while * until * for * break * next * redo * retry 例外処理: * raise * begin その他: * return * BEGIN * END

...eak により
while 式の戻り値をその値にすることもできます。

==== while 修飾子

//emlist[例][ruby]{
sleep(60) while io_not_ready?
//}

文法:

式 while 式

右辺の式を評価した値が真の間、左辺を繰り返し実行します。

左辺の式が begi...

絞り込み条件を変える

<< < 1 2 >>