summaryrefslogtreecommitdiff
path: root/lib/net
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 09:57:53 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-08-24 09:57:53 +0000
commit4e183b11acebdbce9fe843059ddb8e18e491cce1 (patch)
treea6cd8b6ecfb5e2f52f04cbbe29e4fd9f3adbd59e /lib/net
parent99ab1fed49ba6b441fa5a6ae3d6818fae09b760e (diff)
* 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
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/imap.rb10
-rw-r--r--lib/net/smtp.rb2
2 files changed, 6 insertions, 6 deletions
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)