module Net::IMAP::Config::AttrTypeCoercion

def self.attr_accessor(attr, type: nil)

def self.attr_accessor(attr, type: nil)
  type = Types[type] or return
  define_method :"#{attr}=" do |val| super type[val] end
  define_method :"#{attr}?" do send attr end if type == Boolean
end

def self.included(mod)

def self.included(mod)
  mod.extend Macros
end

def self.safe(...) Ractor.make_shareable nil.instance_eval(...).freeze end

def self.safe(...) Ractor.make_shareable nil.instance_eval(...).freeze end

def self.safe(...) nil.instance_eval(...).freeze end

def self.safe(...) nil.instance_eval(...).freeze end