Class: CodebreakerRuban::Statistic
- Inherits:
-
Object
- Object
- CodebreakerRuban::Statistic
- Defined in:
- lib/app/entities/statistic.rb
Constant Summary collapse
- FILE_NAME =
'./lib/app/store/store.yml'
Class Method Summary collapse
Class Method Details
.show_stats ⇒ Object
7 8 9 10 11 12 13 14 15 16 |
# File 'lib/app/entities/statistic.rb', line 7 def show_stats data = Storage.load_storage if data.empty? Message.statistic_empty else sort_data(data).each do |value| Message.show_stats(value) end end end |