Class: Logs::LogFiles

Inherits:
Object
  • Object
show all
Defined in:
app/services/logs/log_files.rb

Class Method Summary collapse

Class Method Details

.allObject



3
4
5
6
# File 'app/services/logs/log_files.rb', line 3

def self.all
  files = ::FileList.new('log/*') { |f| f }
  files.map { |f| f.split('log/')[1] }
end