summaryrefslogtreecommitdiff
path: root/lib/chef/role.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-19 09:28:33 -0800
commit92bec4bb96d857f027068fc56af46c76c484fd50 (patch)
tree2cffea3fc9466d0c5e2baa7cc7630abb0ed7aecb /lib/chef/role.rb
parent6077b99f6ad1bc9a082f575f3818e69f05d8c8dc (diff)
downloadchef-92bec4bb96d857f027068fc56af46c76c484fd50.tar.gz
flip multiline function arguments aroundlcg/rubocop-0.37.2
no enforced trailing comma on arguments...
Diffstat (limited to 'lib/chef/role.rb')
-rw-r--r--lib/chef/role.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/chef/role.rb b/lib/chef/role.rb
index bac054143e..ed22bc87e4 100644
--- a/lib/chef/role.rb
+++ b/lib/chef/role.rb
@@ -57,7 +57,7 @@ class Chef
set_or_return(
:name,
arg,
- :regex => /^[\-[:alnum:]_]+$/,
+ :regex => /^[\-[:alnum:]_]+$/
)
end
@@ -65,7 +65,7 @@ class Chef
set_or_return(
:description,
arg,
- :kind_of => String,
+ :kind_of => String
)
end
@@ -120,7 +120,7 @@ class Chef
set_or_return(
:default_attributes,
arg,
- :kind_of => Hash,
+ :kind_of => Hash
)
end
@@ -128,7 +128,7 @@ class Chef
set_or_return(
:override_attributes,
arg,
- :kind_of => Hash,
+ :kind_of => Hash
)
end