instance method join_domain

Ruby on Rails 2.3.18

Since v2.2.3 Last seen in v2.3.18

Available in: v2.2.3 v2.3.18

Signature

join_domain( arr )

Provides a method to join a domain name by it’s parts and also makes it ATOM safe by quoting it as needed

Parameters

arr req
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/utils.rb, line 170
    def join_domain( arr )
      arr.map {|i|
          if /\A\[.*\]\z/ === i
            i
          else
            quote_atom(i)
          end
      }.join('.')
    end

Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/utils.rb line 170 · View on GitHub · Improve this page · Find usages on GitHub

Defined in TMail::TextUtils

Type at least 2 characters to search.

↑↓ navigate · open · esc close