Puppet Function: complyadm::file_dirname
- Defined in:
- lib/puppet/functions/complyadm/file_dirname.rb
- Function type:
- Ruby 4.x API
Overview
1 2 3 4 5 6 7 8 9 10 |
# File 'lib/puppet/functions/complyadm/file_dirname.rb', line 1 Puppet::Functions.create_function(:'complyadm::file_dirname') do dispatch :file_dirname do param 'String', :path return_type 'String[1]' end def file_dirname(path) File.dirname(path) end end |