From e716a49dabe2c086a97e2d8b3cffe5cf369ad026 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:19:47 +0000 Subject: Removed spaces inside parenthesis. --- lib/custodian/alerts/smtp.rb | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/custodian/alerts/smtp.rb') diff --git a/lib/custodian/alerts/smtp.rb b/lib/custodian/alerts/smtp.rb index 38ef29e..e6cfef0 100644 --- a/lib/custodian/alerts/smtp.rb +++ b/lib/custodian/alerts/smtp.rb @@ -20,7 +20,7 @@ module Custodian # # Constructor - save the test-object away. # - def initialize( obj ) + def initialize(obj) @test = obj end @@ -33,7 +33,7 @@ module Custodian subject = "#{test.target} alert #{test.get_type}-test - #{test.error}" body = "The alert has raised, with the following details:\n#{test.error}\nRegards\n" - _send_mail( @target, subject, body ) + _send_mail(@target, subject, body) end @@ -45,7 +45,7 @@ module Custodian subject = "#{test.target} cleared #{test.get_type}-test" body = "The alert has cleared\nRegards\n" - _send_mail( @target, subject, body ) + _send_mail(@target, subject, body) end @@ -53,7 +53,7 @@ module Custodian # # Send an email # - def _send_mail( to, subject, body ) + def _send_mail(to, subject, body) msg = <