class Inspec::Resources::LegacyPowershell
this is deprecated syntax and will be removed in future versions
Public Class Methods
new(script)
click to toggle source
Calls superclass method
Inspec::Resources::Powershell::new
# File lib/inspec/resources/powershell.rb, line 60 def initialize(script) Inspec.deprecate(:resource_script, "The `script` resource is deprecated. Please use `powershell` instead.") super(script) end