From 4e183b11acebdbce9fe843059ddb8e18e491cce1 Mon Sep 17 00:00:00 2001 From: matz Date: Fri, 24 Aug 2007 09:57:53 +0000 Subject: * test/ruby/test_dir.rb (TestDir::setup): ?c now makes a string. * lib/test/unit/autorunner.rb (Test::Unit::AutoRunner::initialize): initialize @workdir to stop warning. * lib/drb/drb.rb (DRb::DRbServer::InvokeMethod::perform_without_block): replace funcall by send!. other files in the distribution as well. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13244 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- lib/net/imap.rb | 10 +++++----- lib/net/smtp.rb | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'lib/net') diff --git a/lib/net/imap.rb b/lib/net/imap.rb index c6be5030b9..b8239a8aba 100644 --- a/lib/net/imap.rb +++ b/lib/net/imap.rb @@ -1231,7 +1231,7 @@ module Net class RawData # :nodoc: def send_data(imap) - imap.funcall(:put_string, @data) + imap.send!(:put_string, @data) end private @@ -1243,7 +1243,7 @@ module Net class Atom # :nodoc: def send_data(imap) - imap.funcall(:put_string, @data) + imap.send!(:put_string, @data) end private @@ -1255,7 +1255,7 @@ module Net class QuotedString # :nodoc: def send_data(imap) - imap.funcall(:send_quoted_string, @data) + imap.send!(:send_quoted_string, @data) end private @@ -1267,7 +1267,7 @@ module Net class Literal # :nodoc: def send_data(imap) - imap.funcall(:send_literal, @data) + imap.send!(:send_literal, @data) end private @@ -1279,7 +1279,7 @@ module Net class MessageSet # :nodoc: def send_data(imap) - imap.funcall(:put_string, format_internal(@data)) + imap.send!(:put_string, format_internal(@data)) end private diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 3c69846d15..58cce32a71 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -719,7 +719,7 @@ module Net def authenticate(user, secret, authtype = DEFAULT_AUTH_TYPE) check_auth_method authtype check_auth_args user, secret - funcall auth_method(authtype), user, secret + send! auth_method(authtype), user, secret end def auth_plain(user, secret) -- cgit v1.2.3