From ea14396c455b0816e87abe424275290fc4b09b32 Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Sat, 16 Oct 2010 23:12:19 -0400 Subject: replace if ! with unless Signed-off-by: Santiago Pastorino --- actionmailer/lib/action_mailer/old_api.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'actionmailer/lib/action_mailer') diff --git a/actionmailer/lib/action_mailer/old_api.rb b/actionmailer/lib/action_mailer/old_api.rb index 0396f0775e..a8d7454898 100644 --- a/actionmailer/lib/action_mailer/old_api.rb +++ b/actionmailer/lib/action_mailer/old_api.rb @@ -212,7 +212,7 @@ module ActionMailer # If this is a multipart e-mail add the mime_version if it is not # already set. - @mime_version ||= "1.0" if !@parts.empty? + @mime_version ||= "1.0" unless @parts.empty? end end -- cgit v1.2.3