summaryrefslogtreecommitdiff
path: root/lib/chef/resource/erl_call.rb
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2016-02-05 15:00:00 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2016-02-05 15:00:00 -0800
commit686113531d23f30e9973d659c456ae33eb9cff1f (patch)
treef225de7251a8b49b8d183dd168bab0a0addbe23f /lib/chef/resource/erl_call.rb
parentd1cf34b059a16a81e0fc48de52ba29863bb41fe6 (diff)
downloadchef-686113531d23f30e9973d659c456ae33eb9cff1f.tar.gz
autofixing whitespace cops
4174 Style/SpaceInsideHashLiteralBraces 1860 Style/SpaceAroundOperators 1336 Style/SpaceInsideBlockBraces 1292 Style/AlignHash 997 Style/SpaceAfterComma 860 Style/SpaceAroundEqualsInParameterDefault 310 Style/EmptyLines 294 Style/IndentationConsistency 267 Style/TrailingWhitespace 238 Style/ExtraSpacing 212 Style/SpaceBeforeBlockBraces 166 Style/MultilineOperationIndentation 144 Style/TrailingBlankLines 120 Style/EmptyLineBetweenDefs 101 Style/IndentationWidth 82 Style/SpaceAroundBlockParameters 40 Style/EmptyLinesAroundMethodBody 29 Style/EmptyLinesAroundAccessModifier 1 Style/RescueEnsureAlignment
Diffstat (limited to 'lib/chef/resource/erl_call.rb')
-rw-r--r--lib/chef/resource/erl_call.rb12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/chef/resource/erl_call.rb b/lib/chef/resource/erl_call.rb
index 607bcc0fae..5b5273d31d 100644
--- a/lib/chef/resource/erl_call.rb
+++ b/lib/chef/resource/erl_call.rb
@@ -30,7 +30,7 @@ class Chef
default_action :run
- def initialize(name, run_context=nil)
+ def initialize(name, run_context = nil)
super
@code = "q()." # your erlang code goes here
@@ -40,7 +40,7 @@ class Chef
@node_name = "chef@localhost" # the erlang node hostname
end
- def code(arg=nil)
+ def code(arg = nil)
set_or_return(
:code,
arg,
@@ -48,7 +48,7 @@ class Chef
)
end
- def cookie(arg=nil)
+ def cookie(arg = nil)
set_or_return(
:cookie,
arg,
@@ -56,7 +56,7 @@ class Chef
)
end
- def distributed(arg=nil)
+ def distributed(arg = nil)
set_or_return(
:distributed,
arg,
@@ -64,7 +64,7 @@ class Chef
)
end
- def name_type(arg=nil)
+ def name_type(arg = nil)
set_or_return(
:name_type,
arg,
@@ -72,7 +72,7 @@ class Chef
)
end
- def node_name(arg=nil)
+ def node_name(arg = nil)
set_or_return(
:node_name,
arg,