diff options
| author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-29 06:14:10 +0000 |
|---|---|---|
| committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-07-29 06:14:10 +0000 |
| commit | 0da1ffd32d509d86a89106df0a35bd3f273d2c4e (patch) | |
| tree | c7c2046d45ef6226d94a7ef28e91942efed2408f /lib/net | |
| parent | 4d922415c927f0e5ba09ec5bbf11476d8c66f49b (diff) | |
| download | ruby-0da1ffd32d509d86a89106df0a35bd3f273d2c4e.tar.gz ruby-0da1ffd32d509d86a89106df0a35bd3f273d2c4e.tar.xz ruby-0da1ffd32d509d86a89106df0a35bd3f273d2c4e.zip | |
* numeric.c (num_to_int): default to_int implementaion for every
numeric class.
* re.c (rb_reg_quote): initial part of the string was never copied
to the quoted string.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
| -rw-r--r-- | lib/net/smtp.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/net/smtp.rb b/lib/net/smtp.rb index 8652f0f5d..a3802f6cb 100644 --- a/lib/net/smtp.rb +++ b/lib/net/smtp.rb @@ -289,14 +289,14 @@ module Net def send_mail( mailsrc, from_addr, *to_addrs ) do_ready from_addr, to_addrs.flatten - command().write_mail mailsrc + command().write_mail(mailsrc) end alias sendmail send_mail def ready( from_addr, *to_addrs, &block ) do_ready from_addr, to_addrs.flatten - command().through_mail &block + command().through_mail(&block) end private @@ -304,7 +304,7 @@ module Net def do_ready( from_addr, to_addrs ) raise ArgumentError, 'mail destination does not given' if to_addrs.empty? command().mailfrom from_addr - command().rcpt to_addrs + command().rcpt(to_addrs) end end |
