るりまサーチ (Ruby 3.2)

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

別のキーワード

  1. _builtin <
  2. bigdecimal <
  3. float <
  4. module <
  5. complex <

ライブラリ

検索結果

Net::POP3#set_debug_output(f) -> () (25.0)

デバッグ用の出力 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
}

実行結果:

POP session started: pop.example.com:110 (POP)
-> "+OK popd <1162042773.26346.155555a1861c@pop.example.com>\r...