File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ class IMAP
75
75
#
76
76
# client = Net::IMAP.new(hostname, config: :future)
77
77
# client.config.sasl_ir # => true
78
- # client.config.responses_without_block # => :raise
78
+ # client.config.responses_without_block # => :frozen_dup
79
79
#
80
80
# The versioned default configs inherit certain specific config options from
81
81
# Config.global, for example #debug:
@@ -109,9 +109,11 @@ class IMAP
109
109
# [+:future+]
110
110
# The _planned_ eventual config for some future +x.y+ version.
111
111
#
112
- # For example, to raise exceptions for all current deprecations :
112
+ # For example, to disable all currently deprecated behavior :
113
113
# client = Net::IMAP.new(hostname, config: :future)
114
- # client.responses # raises an ArgumentError
114
+ # client.config.response_without_args # => :frozen_dup
115
+ # client.responses.frozen? # => true
116
+ # client.responses.values.all?(&:frozen?) # => true
115
117
#
116
118
# == Thread Safety
117
119
#
You can’t perform that action at this time.
0 commit comments