Class: BagIt::StandardWithHiddenFileFinder

Inherits:
FileFinder
  • Object
show all
Defined in:
lib/bagit/bag.rb

Class Method Summary collapse

Class Method Details

.find(dir) ⇒ Object



24
25
26
# File 'lib/bagit/bag.rb', line 24

def self.find(dir)
  Dir.glob(File.join(dir, "**", "*"), File::FNM_DOTMATCH).select { |f| File.file? f }
end