2件ヒット
[1-2件を表示]
(0.018秒)
ライブラリ
-
net
/ pop (2)
キーワード
-
set
_ debug _ output (1) - started? (1)
検索結果
-
Net
:: POP3 # started? -> bool (18607.0) -
POP3 セッションが開始されていたら真を返します。
POP3 セッションが開始されていたら真を返します。
active? は obsolete です。 -
Net
:: POP3 # set _ debug _ output(f) -> () (40.0) -
デバッグ用の出力 f をセットします。
...さい。
f は << メソッドを持っているオブジェクトでなければなりません。
使用例:
require 'net/pop'
pop = Net::POP3.new('pop.example.com', 110)
pop.set_debug_output $stderr
pop.start('YourAccount', 'YourPassword') {
p pop.n_bytes
}
実行結果:
PO...