Skip to content

Commit

Permalink
* lib/net/imap.rb: added example.
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
shugo committed Mar 26, 2001
1 parent 6129fff commit b23f071
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/net/imap.rb
Expand Up @@ -227,6 +227,11 @@
: 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.
Expand Down

0 comments on commit b23f071

Please sign in to comment.