Module: HolePicker::FileFinder

Defined in:
lib/holepicker/file_finder.rb

Class Method Summary collapse

Class Method Details

.find_files(path, options = "") ⇒ Object



3
4
5
# File 'lib/holepicker/file_finder.rb', line 3

def self.find_files(path, options = "")
  %x(find -L #{path} #{options}).lines.map(&:strip)
end