summaryrefslogtreecommitdiffstats
path: root/lib/net
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-16 07:14:50 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-16 07:14:50 +0000
commitb9de30c8ebe7d7227364f8430e86156c0b13db22 (patch)
tree8708e5fd1cd567fc0fa55be976bfa23a580c109f /lib/net
parente26b1f8ff90eceae3c41a6700b2cf2a83e4b739f (diff)
downloadruby-b9de30c8ebe7d7227364f8430e86156c0b13db22.tar.gz
ruby-b9de30c8ebe7d7227364f8430e86156c0b13db22.tar.xz
ruby-b9de30c8ebe7d7227364f8430e86156c0b13db22.zip
* eval.c (proc_alloc): re-unification of Block and Proc. Block
class is no longer available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net')
-rw-r--r--lib/net/imap.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/net/imap.rb b/lib/net/imap.rb
index 1007f2bdf..2cbb40816 100644
--- a/lib/net/imap.rb
+++ b/lib/net/imap.rb
@@ -263,7 +263,7 @@ Object
If this mailbox exists, an array containing objects of
((<Net::IMAP::MailboxACLItem>)) will be returned.
-: add_response_handler(handler = Block.new)
+: add_response_handler(handler = Proc.new)
Adds a response handler.
ex).
@@ -1047,7 +1047,7 @@ module Net
return sort_internal("UID SORT", sort_keys, search_keys, charset)
end
- def add_response_handler(handler = Block.new)
+ def add_response_handler(handler = Proc.new)
@response_handlers.push(handler)
end