Class: MailFinder::Results
- Inherits:
-
Struct
- Object
- Struct
- MailFinder::Results
- Extended by:
- Forwardable
- Defined in:
- lib/spreewald_support/mail_finder.rb
Instance Attribute Summary collapse
-
#body_regex ⇒ Object
Returns the value of attribute body_regex.
-
#mails ⇒ Object
Returns the value of attribute mails.
-
#matching_header ⇒ Object
Returns the value of attribute matching_header.
Instance Method Summary collapse
Instance Attribute Details
#body_regex ⇒ Object
Returns the value of attribute body_regex
108 109 110 |
# File 'lib/spreewald_support/mail_finder.rb', line 108 def body_regex @body_regex end |
#mails ⇒ Object
Returns the value of attribute mails
108 109 110 |
# File 'lib/spreewald_support/mail_finder.rb', line 108 def mails @mails end |
#matching_header ⇒ Object
Returns the value of attribute matching_header
108 109 110 |
# File 'lib/spreewald_support/mail_finder.rb', line 108 def matching_header @matching_header end |
Instance Method Details
#many? ⇒ Boolean
112 113 114 |
# File 'lib/spreewald_support/mail_finder.rb', line 112 def many? size > 1 end |