Method: ExampleFile.all

Defined in:
lib/example_file.rb

.all(directory) ⇒ Object



15
16
17
18
# File 'lib/example_file.rb', line 15

def all(directory)
  Dir[File.join(directory, '**', "*#{SUFFIX}*")]
    .map { |file_name| new file_name }
end