Skip to content

Commit 23c2a4f

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 9539978 commit 23c2a4f

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
@@ -363,8 +363,7 @@ class IMAP < Protocol
363363
# Seconds to wait until an IDLE response is received.
364364
attr_reader :idle_response_timeout
365365

366-
# The thread to receive exceptions.
367-
attr_accessor :client_thread
366+
attr_accessor :client_thread # :nodoc:
368367

369368
# Returns the debug mode.
370369
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)