lib/codebreaker/game.rb in codebreaker_kub-0.1.8 vs lib/codebreaker/game.rb in codebreaker_kub-0.1.9
- old
+ new
@@ -47,10 +47,10 @@
def win?
@input_code == @code
end
def save
- Codebreaker::Loader.save(to_h, 'stat')
+ Codebreaker::Loader.save(to_h, 'stats')
end
private
def check_input(code = @code.chars)