lib/postageapp/mailer/mailer_4.rb
# Either doing an actual send, or passing it along to Mail::TestMailer
# Probably not the best way as we're skipping way too many intermediate methods
Either doing an actual send, or passing it along to Mail::TestMailer
Probably not the best way as we're skipping way too many intermediate methods
Either doing an actual send or passing it along to Mail :: TestMailer Probably not the best way as we ' re skipping way too many intermediate methods
def deliver_now
    inform_interceptors
    return unless (perform_deliveries)
    if (@delivery_method == Mail::TestMailer)
      @delivery_method.deliveries << self
    else
      self.send
    end
  end
def deliver_now inform_interceptors return unless ( perform_deliveries ) if ( @delivery_method == Mail :: TestMailer ) @delivery_method . deliveries << self else self . send end end
Either doing an actual send, or passing it along to Mail::TestMailer
Probably not the best way as we're skipping way too many intermediate methods
Either doing an actual send or passing it along to Mail :: TestMailer Probably not the best way as we ' re skipping way too many intermediate methods