summaryrefslogtreecommitdiff
path: root/lib/net/ftp.rb
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-01 14:06:38 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-04-01 14:06:38 +0000
commitae79409db498bb04ec5de54f851d0ac7aa8af78d (patch)
tree7bec30c3c70a95eb0a75ee4871146e60dd5e8b00 /lib/net/ftp.rb
parent69fa2fe929c2e339d73c8d0dc05d0d9c1fb57f55 (diff)
* lib/net/ftp.rb (Net::BufferedSocket): should delegate send() to @io
for Net::FTP#abort and Net::FTP#status.. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/ftp.rb')
-rw-r--r--lib/net/ftp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb
index ee4b75a146..62730a3f5b 100644
--- a/lib/net/ftp.rb
+++ b/lib/net/ftp.rb
@@ -1055,7 +1055,7 @@ module Net
end
class BufferedSocket < BufferedIO
- [:addr, :peeraddr].each do |method|
+ [:addr, :peeraddr, :send].each do |method|
define_method(method) { |*args|
@io.__send__(method, *args)
}