Method: Munge::Util::Path.dirname

Defined in:
lib/munge/util/path.rb

.dirname(path) ⇒ Object



4
5
6
7
8
9
10
# File 'lib/munge/util/path.rb', line 4

def self.dirname(path)
  if File.dirname(path) == "."
    ""
  else
    File.dirname(path)
  end
end