るりまサーチ (Ruby 2.3.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.091秒)
トップページ > バージョン:2.3.0[x] > 種類:インスタンスメソッド[x] > クエリ:@[x] > クエリ:stat[x] > クラス:Net::POP3[x]

別のキーワード

  1. _builtin stat
  2. gc stat
  3. csv stat
  4. pathname stat
  5. io stat

ライブラリ

検索結果

Net::POP3#set_debug_output(f) -> () (43.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...