lib/codebreaker/game.rb in codebreaker-Bulatkin-0.2.0 vs lib/codebreaker/game.rb in codebreaker-Bulatkin-0.2.1
- old
+ new
@@ -38,10 +38,10 @@
def lost?
attempts.zero?
end
def to_yaml(name)
- data_to_save(name).to_yaml
+ data_to_save(name)
end
def data_to_save(name)
{
name: name,