lib/cabbage/email/email.rb
# returns an array of strings representing available
# mime types in the array of mime parts.
returns an array of strings representing available
mime types in the array of mime parts.
returns an array of strings representing available mime types in the array of mime parts .
def mime_types
      [].tap do |result|
        @parts.each do |part|
          result << part.content_type
        end
      end
    end
def mime_types [ ] . tap do | result | @parts . each do | part | result << part . content_type end end end
returns an array of strings representing available
mime types in the array of mime parts.
returns an array of strings representing available mime types in the array of mime parts .