From 51cdadc11d4d225792109def763d735abc305ca2 Mon Sep 17 00:00:00 2001 From: Martin Meredith Date: Wed, 3 May 2017 18:36:38 +0100 Subject: [PATCH] Fix RuboCop issue: Use hash literal {} instead of Hash.new --- resources/project.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/project.rb b/resources/project.rb index f5b298b..1780ef2 100644 --- a/resources/project.rb +++ b/resources/project.rb @@ -21,7 +21,7 @@ attribute :user, :kind_of => String, :default => 'root' attribute :group, :kind_of => String, :default => 'root' attribute :umask, :kind_of => [String, Integer], :default => '0002' -attribute :environment, :kind_of => Hash, :default => Hash.new +attribute :environment, :kind_of => Hash, :default => {} def initialize(*args) super