Method: Puppet::FileSystem.basename

Defined in:
lib/puppet/file_system.rb

.basename(path) ⇒ Object

Returns the name of the file as a opaque handle.

Returns:

  • (Object)

    the name of the file as a opaque handle



85
86
87
# File 'lib/puppet/file_system.rb', line 85

def self.basename(path)
  @impl.basename(assert_path(path))
end