From 891b720013f06f092f6be82adad95e5551c696b6 Mon Sep 17 00:00:00 2001 From: Steve Kemp Date: Mon, 9 Mar 2015 13:09:46 +0000 Subject: Do not use parentheses for method calls with no arguments. This is neater. Flagged by rubocop --- bin/multi-ping | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/multi-ping') diff --git a/bin/multi-ping b/bin/multi-ping index 00ae466..9833215 100755 --- a/bin/multi-ping +++ b/bin/multi-ping @@ -121,7 +121,7 @@ helper = Custodian::Util::Ping.new( hostname ) # # Ping the host, via the helper # -if ( helper.run_ping() ) +if ( helper.run_ping ) puts "#{hostname} - #{helper.address} - is alive." exit 0 else -- cgit v1.2.3