diff options
author | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:08:33 +0000 |
---|---|---|
committer | Steve Kemp <steve@steve.org.uk> | 2015-03-09 13:08:33 +0000 |
commit | 3a96cc957dbd97c6ffeaea42f738e7c35b4acbc7 (patch) | |
tree | 1a709ddc989f52f065b681e0ee80265c31647ca4 /lib/custodian/protocoltest/mx.rb | |
parent | d0f94ecdf76f1a3ff9e2d0e5c0f654c2089561cd (diff) |
Avoid "Array.new" and "Hash.new"
Instead use {} + ().
Diffstat (limited to 'lib/custodian/protocoltest/mx.rb')
-rw-r--r-- | lib/custodian/protocoltest/mx.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/mx.rb b/lib/custodian/protocoltest/mx.rb index c05283d..29a9183 100644 --- a/lib/custodian/protocoltest/mx.rb +++ b/lib/custodian/protocoltest/mx.rb @@ -63,7 +63,7 @@ module Custodian # # The MX-hosts # - mx = Array.new() + mx = [] # # Lookup the MX record |