diff options
author | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-21 14:58:38 +0900 |
---|---|---|
committer | Kazuki Yamaguchi <k@rhe.jp> | 2016-04-21 14:58:38 +0900 |
commit | f5698de3a35cc9c37f4223d301c00b77de83dd01 (patch) | |
tree | 8ea94af43760a85e44fcf83e34969a42a1604147 /lib/plum/client.rb | |
parent | a49c4ae1a4ec6befacf7bcbc428a6279e8c51818 (diff) | |
download | plum-f5698de3a35cc9c37f4223d301c00b77de83dd01.tar.gz |
avoid verbose warnings
Diffstat (limited to 'lib/plum/client.rb')
-rw-r--r-- | lib/plum/client.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/plum/client.rb b/lib/plum/client.rb index 020b372..6c3b16d 100644 --- a/lib/plum/client.rb +++ b/lib/plum/client.rb @@ -30,6 +30,7 @@ module Plum if host.is_a?(IO) @socket = host else + @socket = nil @host = host @port = port || (config[:scheme] == "https" ? 443 : 80) end |