instance method
name
Ruby on Rails 2.3.18
Since v2.2.3 Last seen in v2.3.18Available in: v2.2.3 v2.3.18
Signature
name()
Provides the name or ‘phrase’ of the email address.
For Example:
email = TMail::Address.parse("Mikel Lindsaar <mikel@lindsaar.net>") email.name #=> "Mikel Lindsaar"
Source
# File actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/address.rb, line 131
def name
@name
end
Defined in actionmailer/lib/action_mailer/vendor/tmail-1.2.7/tmail/address.rb line 131
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in TMail::Address