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/custodian-dequeue | |
| parent | 22b40326730fb7a4a8e2f5cb8d877f6a84494d02 (diff) | |
Do not use parentheses for method calls with no arguments.
This is neater.  Flagged by rubocop
Diffstat (limited to 'bin/custodian-dequeue')
| -rwxr-xr-x | bin/custodian-dequeue | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/bin/custodian-dequeue b/bin/custodian-dequeue index c5c5309..a411746 100755 --- a/bin/custodian-dequeue +++ b/bin/custodian-dequeue @@ -65,7 +65,7 @@ if __FILE__ == $PROGRAM_NAME then    #    #  The settings object contains a lot of configuration-data.    # -  settings = Custodian::Settings.instance() +  settings = Custodian::Settings.instance    begin      opts = GetoptLong.new( @@ -137,7 +137,7 @@ if __FILE__ == $PROGRAM_NAME then    #  Single step?    #    if ( ENV['SINGLE'] ) -    worker.process_single_job() +    worker.process_single_job      exit(0)    end @@ -145,7 +145,7 @@ if __FILE__ == $PROGRAM_NAME then    #  Run until we see a failure?    #    if ( ENV['FAIL'] ) -    worker.process_until_fail() +    worker.process_until_fail      exit(0)    end | 
