Module: Puppet::Parser::Functions

Defined in:
lib/puppet/parser/functions/basename.rb

Overview

basename(string) : string basename(string[]) : string[]

Returns the last component of the filename given as argument, which must be formed using forward slashes (“/..) regardless of the separator used on the local file system.