summaryrefslogtreecommitdiff
path: root/lib/custodian/settings.rb
diff options
context:
space:
mode:
authorSteve Kemp <steve@steve.org.uk>2015-03-09 13:08:33 +0000
committerSteve Kemp <steve@steve.org.uk>2015-03-09 13:08:33 +0000
commit3a96cc957dbd97c6ffeaea42f738e7c35b4acbc7 (patch)
tree1a709ddc989f52f065b681e0ee80265c31647ca4 /lib/custodian/settings.rb
parentd0f94ecdf76f1a3ff9e2d0e5c0f654c2089561cd (diff)
Avoid "Array.new" and "Hash.new"
Instead use {} + ().
Diffstat (limited to 'lib/custodian/settings.rb')
-rw-r--r--lib/custodian/settings.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/settings.rb b/lib/custodian/settings.rb
index 206e6a9..8bcf71c 100644
--- a/lib/custodian/settings.rb
+++ b/lib/custodian/settings.rb
@@ -38,7 +38,7 @@ module Custodian
def _load( file = "/etc/custodian/custodian.cfg" )
@parsed = true
- @settings = Hash.new()
+ @settings = {}
#
# The global configuration file.