Skip to content

Commit

Permalink
Fix RuboCop issue: Use hash literal {} instead of Hash.new
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Meredith committed May 3, 2017
1 parent e965ee9 commit 51cdadc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/project.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 51cdadc

Please sign in to comment.