summaryrefslogtreecommitdiffstats
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorshugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 04:09:20 +0000
committershugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-10-28 04:09:20 +0000
commitc263872d631a67dbc1c9ecd8e3ecf9f9b8ba2c23 (patch)
tree477b8a4398e5458a3341d7210188e2fe47d98a8c /vm_insnhelper.c
parent7e7ca28d75bd27bd31dcb6431bce3227d81c113a (diff)
downloadruby-c263872d631a67dbc1c9ecd8e3ecf9f9b8ba2c23.tar.gz
ruby-c263872d631a67dbc1c9ecd8e3ecf9f9b8ba2c23.tar.xz
ruby-c263872d631a67dbc1c9ecd8e3ecf9f9b8ba2c23.zip
* lib/net/ftp.rb (Net::FTP#initialize): sets @binary to true.
* lib/net/ftp.rb (Net::FTP#binary=): sends a TYPE command only when logged in. [ruby-dev:39548] * lib/net/ftp.rb (Net::FTP#send_type_command): new private method which sends an appropriate TYPE command according to the value of @binary. * lib/net/ftp.rb (Net::FTP#login): calls send_type_command instead of binary=. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@25519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'vm_insnhelper.c')
0 files changed, 0 insertions, 0 deletions