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