class Chef::Resource::PowershellScript
Public Class Methods
Source
# File lib/chef/resource/powershell_script.rb, line 82 def self.get_default_attributes { convert_boolean_return: true } end
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, and false by default otherwise. When this mode becomes the default for this resource, this method can be removed since guard context and recipe resource context will have the same behavior.
Source
# File lib/chef/resource/powershell_script.rb, line 70 def initialize(*args) super @default_guard_interpreter = resource_name end
Calls superclass method
Chef::Resource::Script::new