instance method
spec
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
spec()
Returns the full specific address itself
For Example:
email = TMail::Address.parse("mikel@lindsaar.net") email.address #=> "mikel@lindsaar.net"
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/address.rb, line 215
def spec
s = self.local
d = self.domain
if s and d
s + '@' + d
else
s
end
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/address.rb line 215
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::Address