Class: Codebreaker::Statistics
- Inherits:
-
Object
- Object
- Codebreaker::Statistics
- Includes:
- Database
- Defined in:
- lib/entities/statistics.rb
Constant Summary collapse
- COLUMN_NUMBERS =
{ name: 0, level: 1, attempts_left: 2, attempts_total: 3, have_left: 4, hints_total: 5, date: 6 }.freeze
Constants included from Database
Database::FILE_PATH, Database::FOLDER_PATH, Database::FORMAT_PATH, Database::PATH
Instance Method Summary collapse
Methods included from Database
Instance Method Details
#winners(base) ⇒ Object
15 16 17 18 |
# File 'lib/entities/statistics.rb', line 15 def winners(base) data = multi_sort(base) to_table(data) end |