Puppet Function: powershell_escape
- Defined in:
-
lib/puppet/functions/powershell_escape.rb
- Function type:
- Ruby 4.x API
Summary
DEPRECATED. Use the namespaced function [`stdlib::powershell_escape`](#stdlibpowershell_escape) instead.
Overview
powershell_escape(Any *$args) ⇒ Any
6
7
8
9
10
11
12
13
14
|
# File 'lib/puppet/functions/powershell_escape.rb', line 6
Puppet::Functions.create_function(:powershell_escape) do
dispatch :deprecation_gen do
repeated_param 'Any', :args
end
def deprecation_gen(*args)
call_function('deprecation', 'powershell_escape', 'This function is deprecated, please use stdlib::powershell_escape instead.', false)
call_function('stdlib::powershell_escape', *args)
end
end
|