Sha256: be6452011d6831d315b91946498fd1d721d66f40e7ddeefcaa4f193ed06be679
Contents?: true
Size: 550 Bytes
Versions: 1
Compression:
Stored size: 550 Bytes
Contents
module Statistic class StatisticRow attr_accessor :player_name, :init_attempts_count, :init_hints_count, :used_attempts_count, :used_hints_count, :difficult_name, :rating def initialize(player:, difficult_init:) @rating = nil @player_name = player.name @difficult_name = difficult_init.name @init_attempts_count = difficult_init.attempts_count @init_hints_count = difficult_init.hint.hints_count @used_attempts_count = 0 @used_hints_count = 0 end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
codebreaker_kosinskiy-0.1.2 | lib/codebreaker/statistic/statistic_row.rb |