We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 06677aa commit f49c3cfCopy full SHA for f49c3cf
lib/net/imap.rb
@@ -740,14 +740,12 @@ class IMAP < Protocol
740
# Returns the global Config object
741
def self.config; Config.global end
742
743
- # Returns the debug mode.
744
- def self.debug
745
- return @@debug
746
- end
+ # Returns the global debug mode.
+ def self.debug; config.debug end
747
748
- # Sets the debug mode.
+ # Sets the global debug mode.
749
def self.debug=(val)
750
- return @@debug = val
+ config.debug = val
751
end
752
753
# The default port for IMAP connections, port 143
0 commit comments