Sha256: e2b3c40b0cee9c946a0d5e64e58a987220917f9e8de4c243317e8775bd88b8e6

Contents?: true

Size: 178 Bytes

Versions: 147

Compression:

Stored size: 178 Bytes

Contents

# frozen_string_literal: true

module Mail
  class Address
    def self.wrap(address)
      address.is_a?(Mail::Address) ? address : Mail::Address.new(address)
    end
  end
end

Version data entries

147 entries across 142 versions & 11 rubygems

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-7.0.2.3/lib/action_mailbox/mail_ext/address_wrapping.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-6.1.6.1/lib/action_mailbox/mail_ext/address_wrapping.rb
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.1.2 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.1.1 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.1.0 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.1.0.rc2 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.1.0.rc1 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.1.0.beta1 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.0.8 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.0.7.2 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-6.1.7.6 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.0.7.1 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-6.1.7.5 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.0.7 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.0.6 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-7.0.5.1 lib/action_mailbox/mail_ext/address_wrapping.rb
actionmailbox-6.1.7.4 lib/action_mailbox/mail_ext/address_wrapping.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-7.0.2.3/lib/action_mailbox/mail_ext/address_wrapping.rb
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/actionmailbox-7.0.3.1/lib/action_mailbox/mail_ext/address_wrapping.rb