Puppet Function: batch_escape

Defined in:
lib/puppet/functions/batch_escape.rb
Function type:
Ruby 4.x API

Summary

DEPRECATED. Use the namespaced function [`stdlib::batch_escape`](#stdlibbatch_escape) instead.

Overview

batch_escape(Any *$args)Any

Parameters:

  • *args (Any)

Returns:

  • (Any)


6
7
8
9
10
11
12
13
14
# File 'lib/puppet/functions/batch_escape.rb', line 6

Puppet::Functions.create_function(:batch_escape) do
  dispatch :deprecation_gen do
    repeated_param 'Any', :args
  end
  def deprecation_gen(*args)
    call_function('deprecation', 'batch_escape', 'This function is deprecated, please use stdlib::batch_escape instead.', false)
    call_function('stdlib::batch_escape', *args)
  end
end