diff options
| author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:09:46 +0000 | 
|---|---|---|
| committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:09:46 +0000 | 
| commit | edf0e675123e4869e2739d1bab0ed57b3b9f664c (patch) | |
| tree | c0771fecb0734fb342cf16e352f19fd3ead9a112 /bin/multi-ping | |
| parent | 22b40326730fb7a4a8e2f5cb8d877f6a84494d02 (diff) | |
Do not use parentheses for method calls with no arguments.
This is neater.  Flagged by rubocop
Diffstat (limited to 'bin/multi-ping')
| -rwxr-xr-x | bin/multi-ping | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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 | 
