Skip to content

Commit dd130b4

Browse files
committed
🗑️ Add :nodoc: to RESPONSE_ERRORS and client_thread
RESPONSE_ERRORS is used internally and should probably be private_const. client_thread should be removed (or deprecated).
1 parent 55f6312 commit dd130b4

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

lib/net/imap.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,7 @@ class IMAP < Protocol
245245
# Seconds to wait until an IDLE response is received.
246246
attr_reader :idle_response_timeout
247247

248-
# The thread to receive exceptions.
249-
attr_accessor :client_thread
248+
attr_accessor :client_thread # :nodoc:
250249

251250
# Returns the debug mode.
252251
def self.debug

lib/net/imap/errors.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ class ByeResponseError < ResponseError
5151
class UnknownResponseError < ResponseError
5252
end
5353

54-
RESPONSE_ERRORS = Hash.new(ResponseError)
54+
RESPONSE_ERRORS = Hash.new(ResponseError) # :nodoc:
5555
RESPONSE_ERRORS["NO"] = NoResponseError
5656
RESPONSE_ERRORS["BAD"] = BadResponseError
5757

0 commit comments

Comments
 (0)