diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-14 07:53:32 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-11-14 07:53:32 +0000 |
commit | dad2382270b8bcfc56a0e2dd73c6201e63ed1a7c (patch) | |
tree | 33b0fdf571109ead0c9bd8d3e90cbd74e8082572 /lib/net/pop.rb | |
parent | bfcb3fb3be96b8759db9ee441141e373626d782c (diff) |
net/protocol.rb: kwargs
* lib/net/protocol.rb (Net::BufferedIO#initialize): add keyword
arguments for initial attributes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/pop.rb')
-rw-r--r-- | lib/net/pop.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/pop.rb b/lib/net/pop.rb index 7f5c09c504..4a2dca2311 100644 --- a/lib/net/pop.rb +++ b/lib/net/pop.rb @@ -555,10 +555,10 @@ module Net s.post_connection_check(@address) end end - @socket = InternetMessageIO.new(s) + @socket = InternetMessageIO.new(s, + read_timeout: @read_timeout, + debug_output: @debug_output) logging "POP session started: #{@address}:#{@port} (#{@apop ? 'APOP' : 'POP'})" - @socket.read_timeout = @read_timeout - @socket.debug_output = @debug_output on_connect @command = POP3Command.new(@socket) if apop? |