Hi,

rdoc defines Hash#method_missing in lib/rdoc/ri/driver.rb, which
breaks the following code that is in lib/net/imap.rb:

  begin
    # for backward compatibility
    certs = options.to_str
    options = create_ssl_params(certs, verify)
  rescue NoMethodError
  end


This causes an error of `make test-all'.

 1) Error:
test_starttls(IMAPTest):
IOError: closed stream
   /home/mame/work/ruby19/ruby/.ext/common/openssl/buffering.rb:240:in `close'
   /home/mame/work/ruby19/ruby/.ext/common/openssl/buffering.rb:240:in
`sysclose'
   /home/mame/work/ruby19/ruby/.ext/common/openssl/buffering.rb:240:in `close'
   /home/mame/work/ruby19/ruby/lib/net/imap.rb:296:in `disconnect'
   /home/mame/work/ruby19/ruby/test/net/imap/test_imap.rb:189:in
`ensure in starttls_test'
   /home/mame/work/ruby19/ruby/test/net/imap/test_imap.rb:189:in
`starttls_test'
   /home/mame/work/ruby19/ruby/test/net/imap/test_imap.rb:72:in `test_starttls'


I wonder if anyone requires rdoc as a library.  If nobody does, rdoc
may be moved from lib/ to somewhere to let `make test-all' pass over
rdoc.
Otherwise, rdoc should be fixed by using OpenStruct or by rewriting
hash.foo to hash["foo"].

-- 
Yusuke ENDOH <mame / tsg.ne.jp>