Method: Mail::Address#inspect
- Defined in:
- lib/mail/elements/address.rb
#inspect ⇒ Object
Shows the Address object basic details, including the Address
a = Address.new('Mikel (My email) <[email protected]>')
a.inspect #=> "#<Mail::Address:14184910 Address: |Mikel <[email protected]> (My email)| >"
164 165 166 167 |
# File 'lib/mail/elements/address.rb', line 164 def inspect parse unless @parsed "#<#{self.class}:#{self.object_id} Address: |#{to_s}| >" end |