From 4cfe64841e7eb91a314f6e03026e5ffdcd8dcbdf Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:04:45 +0000 Subject: Omit the parentheses in defs when the method doesn't accept any arguments. This is neater. --- lib/custodian/alerts/mauve.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/custodian/alerts/mauve.rb') diff --git a/lib/custodian/alerts/mauve.rb b/lib/custodian/alerts/mauve.rb index 79a1416..8ce14c1 100644 --- a/lib/custodian/alerts/mauve.rb +++ b/lib/custodian/alerts/mauve.rb @@ -60,7 +60,7 @@ module Custodian # # Generate an alert-message which will be raised via mauve. # - def raise() + def raise return unless( @loaded ) -- cgit v1.2.1