Method: Inspec::Resources::LegacyPowershell#initialize
- Defined in:
- lib/inspec/resources/powershell.rb
#initialize(script) ⇒ LegacyPowershell
Returns a new instance of LegacyPowershell.
60 61 62 63 |
# 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 |