lib/services/statistic_service.rb in codebreaker_paratskiy-0.2.3 vs lib/services/statistic_service.rb in codebreaker_paratskiy-0.2.4
- old
+ new
@@ -1,9 +1,9 @@
require_relative '../utils/db_utils'
require_relative '../config/constants'
class Statistic
class << self
- def generate_stats(game)
+ def generate_stats
{
name: player_name,
difficulty: difficulty_name,
total_attempts: total_attempts,
used_attempts: used_attempts,