Class: Logy::LogFiles

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

Class Method Summary collapse

Class Method Details

.allObject



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

def self.all
  files = ::FileList.new("#{Logy::Viewer::LOG_PATH}/*")
  files.map { |f| f.split("#{Logy::Viewer::LOG_PATH}/")[1] }
end