Class: GmailAttachMany::MessageArray
- Inherits:
-
Array
- Object
- Array
- GmailAttachMany::MessageArray
- Defined in:
- lib/gmail_attach_many.rb
Instance Method Summary collapse
- #messages_number ⇒ Object
- #messages_subject=(subjectString) ⇒ Object
- #messages_subject_and_number=(subjectString) ⇒ Object
- #messages_to(recipientString) ⇒ Object
Instance Method Details
#messages_number ⇒ Object
16 17 18 19 20 |
# File 'lib/gmail_attach_many.rb', line 16 def self.each_index do |m| m.subject = m.subject + "#{m+1}/#{self.length+1}" end end |
#messages_subject=(subjectString) ⇒ Object
11 12 13 14 15 |
# File 'lib/gmail_attach_many.rb', line 11 def (subjectString) self.each do |m| m.subject = subjectString end end |
#messages_subject_and_number=(subjectString) ⇒ Object
21 22 23 24 |
# File 'lib/gmail_attach_many.rb', line 21 def (subjectString) self. = (subjectString) self. end |
#messages_to(recipientString) ⇒ Object
6 7 8 9 10 |
# File 'lib/gmail_attach_many.rb', line 6 def (recipientString) self.each do |m| m.to recipientString end end |