From 0c717d6a589579ccc1f18e1eeacfbda7d7fcf9e5 Mon Sep 17 00:00:00 2001 From: aamine Date: Sat, 13 Jan 2001 19:07:15 +0000 Subject: aamine * lib/net/protocol.rb (adding): too few "yield" in case of arg is not String/File. * lib/net/http.rb: add http request object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/protocol.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'lib/net/protocol.rb') diff --git a/lib/net/protocol.rb b/lib/net/protocol.rb index 161024cfe2..e2bb1f47ca 100644 --- a/lib/net/protocol.rb +++ b/lib/net/protocol.rb @@ -1,6 +1,6 @@ =begin -= net/protocol.rb version 1.1.32 += net/protocol.rb version 1.2.0 written by Minero Aoki @@ -65,7 +65,7 @@ module Net class Protocol - Version = '1.1.32' + Version = '1.2.0' class << self @@ -736,6 +736,7 @@ module Net yield end end + yield unless @wbuf.empty? end end -- cgit v1.2.3