summaryrefslogtreecommitdiff
path: root/lib/chef/resource
diff options
context:
space:
mode:
authorLamont Granquist <lamont@scriptkiddie.org>2015-02-19 13:36:40 -0800
committerLamont Granquist <lamont@scriptkiddie.org>2015-02-23 10:44:58 -0800
commit0e01c33eb861fc31fc63e15b9c59173e373aec2d (patch)
tree9cb1a79d8f7aa3f062f300c19038f237c4561481 /lib/chef/resource
parent5c6ef532630f3d08325fd0e1635d2b6dd6057a31 (diff)
downloadchef-0e01c33eb861fc31fc63e15b9c59173e373aec2d.tar.gz
fixes Lint/UselessAccessModifier
Diffstat (limited to 'lib/chef/resource')
-rw-r--r--lib/chef/resource/powershell_script.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/chef/resource/powershell_script.rb b/lib/chef/resource/powershell_script.rb
index a88fb5701b..a40f2e66e6 100644
--- a/lib/chef/resource/powershell_script.rb
+++ b/lib/chef/resource/powershell_script.rb
@@ -34,8 +34,6 @@ class Chef
)
end
- protected
-
# Allow callers evaluating guards to request default
# attribute values. This is needed to allow
# convert_boolean_return to be true in guard context by default,
@@ -46,6 +44,8 @@ class Chef
def self.get_default_attributes(opts)
{:convert_boolean_return => true}
end
+
+ private_class_method :get_default_attributes
end
end
end