Class: Logs::LogFiles
- Inherits:
-
Object
- Object
- Logs::LogFiles
- Defined in:
- app/services/logs/log_files.rb
Class Method Summary collapse
Class Method Details
.all ⇒ Object
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 |