lib/codebreaker/game.rb in codebreaker-0.1.4.1 vs lib/codebreaker/game.rb in codebreaker-0.1.4.2

- old
+ new

@@ -52,9 +52,10 @@ result end def hint if @hint_val.to_s.empty? + @hint_val = '' hint_pos = Random.rand(CODE_LENGTH); hint_pos.times {@hint_val += '*'} @hint_val += @secret_code[hint_pos].to_s (CODE_LENGTH - hint_pos - 1).times {@hint_val += '*'} end \ No newline at end of file