Array
RMail::Address::List is a simple subclass of the Array class that provides convenience methods for accessing the RMail::Address objects it contains.
Returns an array of strings – the result of calling RMail::Address#address on each element of the list.
# File lib/rmail/address.rb, line 811 def addresses collect { |a| a.address } end
Returns an array of strings – the result of calling RMail::Address#display_name on each element of the list.
# File lib/rmail/address.rb, line 793 def display_names collect { |a| a.display_name } end
Returns an array of strings – the result of calling RMail::Address#domain on each element of the list.
# File lib/rmail/address.rb, line 805 def domains collect { |a| a.domain } end
Returns an array of strings – the result of calling RMail::Address#format on each element of the list.
# File lib/rmail/address.rb, line 817 def format collect { |a| a.format } end
Returns an array of strings – the result of calling RMail::Address#local on each element of the list.
# File lib/rmail/address.rb, line 787 def locals collect { |a| a.local } end
Returns an array of strings – the result of calling RMail::Address#name on each element of the list.
# File lib/rmail/address.rb, line 799 def names collect { |a| a.name } end
Generated with the Darkfish Rdoc Generator 2.