class File

Public Class Methods

find_existing(paths) click to toggle source
# File lib/dynamic_assets/core_extensions.rb, line 33
def self.find_existing(paths)
  paths.each do |path|
    return path if File.exists? path
  end

  nil
end