1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* lib/net/imap.rb: added example.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
shugo 2001-03-26 12:32:38 +00:00
parent 2d32e4dd6d
commit 253f65aa4e

View file

@ -227,6 +227,11 @@ Object
: add_response_handler(handler = Proc.new)
Adds a response handler.
ex).
imap.add_response_handler do |resp|
p resp
end
: remove_response_handler(handler)
Removes the response handler.