Skip to content

Commit

Permalink
🔀 Merge branch 'nodocs-and-remove-warning'
Browse files Browse the repository at this point in the history
  • Loading branch information
nevans committed Nov 23, 2022
2 parents a3a88e4 + 23c2a4f commit 18581ad
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions lib/net/imap.rb
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,7 @@ class IMAP < Protocol
# Seconds to wait until an IDLE response is received.
attr_reader :idle_response_timeout

# The thread to receive exceptions.
attr_accessor :client_thread
attr_accessor :client_thread # :nodoc:

# Returns the debug mode.
def self.debug
Expand Down Expand Up @@ -1269,9 +1268,7 @@ def idle_done
#
# port:: Port number (default value is 143 for imap, or 993 for imaps)
# ssl:: If +options[:ssl]+ is true, then an attempt will be made
# to use SSL (now TLS) to connect to the server. For this to work
# OpenSSL [OSSL] and the Ruby OpenSSL [RSSL] extensions need to
# be installed.
# to use SSL (now TLS) to connect to the server.
# If +options[:ssl]+ is a hash, it's passed to
# OpenSSL::SSL::SSLContext#set_params as parameters.
# open_timeout:: Seconds to wait until a connection is opened
Expand Down
2 changes: 1 addition & 1 deletion lib/net/imap/errors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class ByeResponseError < ResponseError
class UnknownResponseError < ResponseError
end

RESPONSE_ERRORS = Hash.new(ResponseError)
RESPONSE_ERRORS = Hash.new(ResponseError) # :nodoc:
RESPONSE_ERRORS["NO"] = NoResponseError
RESPONSE_ERRORS["BAD"] = BadResponseError

Expand Down

0 comments on commit 18581ad

Please sign in to comment.