class Pfm::CLI

def drive_upcase(path)

upcase drive letters for comparison since ruby has a String#capitalize function
def drive_upcase(path)
  if Chef::Platform.windows? && path[0] =~ /^[A-Za-z]$/ && path[1, 2] == ':\\'
    path.capitalize
  else
    path
  end
end