class GmailAttachMany::MessageArray

Public Instance Methods

messages_number() click to toggle source
# File lib/gmail_attach_many.rb, line 16
def messages_number
  self.each_index do |m|
    m.subject = m.subject + "#{m+1}/#{self.length+1}"
  end
end
messages_subject=(subjectString) click to toggle source
# File lib/gmail_attach_many.rb, line 11
def messages_subject= (subjectString)
  self.each do |m|
    m.subject = subjectString
  end
end
messages_subject_and_number=(subjectString) click to toggle source
# File lib/gmail_attach_many.rb, line 21
def messages_subject_and_number= (subjectString)
  self.messages_subject = (subjectString)
  self.messages_number
end
messages_to(recipientString) click to toggle source
# File lib/gmail_attach_many.rb, line 6
def messages_to (recipientString)
  self.each do |m|
    m.to recipientString
  end
end