るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.032秒)
トップページ > バージョン:2.6.0[x] > クエリ:set[x] > クエリ:new[x] > ライブラリ:net/pop[x]

別のキーワード

  1. stringio set_encoding
  2. _builtin set_encoding
  3. tracer set_get_line_procs
  4. set divide

クラス

検索結果

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