From 0c2d64d6daf9a9a901a3b67730680e3e97c60f8d Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:21:36 +0000 Subject: Whitespace fixups. These were all identified and suggested by rubocop. --- lib/custodian/alerts/mauve.rb | 4 ++-- lib/custodian/alerts/redis-state.rb | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/custodian/alerts') diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb index 947f019..47431d6 100644 --- a/lib/custodian/alerts/mauve.rb +++ b/lib/custodian/alerts/mauve.rb @@ -62,7 +62,7 @@ module Custodian # def raise - return unless(@loaded) + return unless @loaded # # Get ready to send to mauve. @@ -144,7 +144,7 @@ module Custodian # def clear - return unless(@loaded) + return unless @loaded # # Get ready to send to mauve. diff --git a/lib/custodian/alerts/redis-state.rb b/lib/custodian/alerts/redis-state.rb index bef0015..e486d9a 100644 --- a/lib/custodian/alerts/redis-state.rb +++ b/lib/custodian/alerts/redis-state.rb @@ -52,7 +52,7 @@ module Custodian # def raise - return unless(@redis) + return unless @redis tmp = {} tmp['time'] = Time.now.to_i @@ -75,7 +75,7 @@ module Custodian # def clear - return unless(@redis) + return unless @redis tmp = {} -- cgit v1.2.1