Class: EmailSpec::Matchers::EmailMatcher
- Inherits:
-
Object
- Object
- EmailSpec::Matchers::EmailMatcher
- Defined in:
- lib/email_spec/matchers.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#address_array ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/email_spec/matchers.rb', line 6 def address_array if @email.perform_deliveries Array(yield) else [] end end |