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