class Net::IMAP::Config
def load_defaults(version)
is usually Config.global) and are left unchanged, for example: #debug.
Some config attributes default to inheriting from their #parent (which
configuration for +version+. #parent will not be changed.
Resets the current config to behave like the versioned default
:call-seq: load_defaults(version) -> self
def load_defaults(version) [Numeric, Symbol, String].any? { _1 === version } or raise ArgumentError, "expected number or symbol, got %p" % [version] update(**Config[version].defaults_hash) end