Sha256: a02fd232328ce9d3dd99395ed387f535f85bc7a0ee953464cfa4e121a4d5dc30
Contents?: true
Size: 463 Bytes
Versions: 12
Compression:
Stored size: 463 Bytes
Contents
# frozen_string_literal: true # Join file paths. Puppet::Functions.create_function(:'file::join') do # @param paths The paths to join. # @return The joined file path. # @example Join file paths # file::join('./path', 'to/files') dispatch :join do required_repeated_param 'String', :paths return_type 'String' end def join(*paths) Puppet.lookup(:bolt_executor) {}&.report_function_call(self.class.name) File.join(paths) end end
Version data entries
12 entries across 12 versions & 1 rubygems