Method: Ayadn::FileOps.make_paths

Defined in:
lib/ayadn/fileops.rb

.make_paths(files_array) ⇒ Object



74
75
76
77
78
79
80
81
82
# File 'lib/ayadn/fileops.rb', line 74

def self.make_paths(files_array)
  files_array.map do |file|
    unless File.exist?(file)
      Status.new.bad_path
      exit
    end
    File.absolute_path(file)
  end
end