codeguessing 0.4.8 → 0.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/codeguessing/console.rb +2 -2
- data/lib/codeguessing/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0c64209b4b33c70a1ce3506d0f8408d158333bb
|
4
|
+
data.tar.gz: 292948ab10bfcccfd1f964d4aff5b67702627d39
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9c3caf37cfddb5fa1b3dd31657336599abcf55173c07a6cdb8de9f92ad1e6644a9c775d30290b1aa46b919f1f007f8ae3933edf242876500407015e8bed9782
|
7
|
+
data.tar.gz: 69316cfe59d90eed5c67d924ec5d07d052ca869ee41c2141d497814bfc1bd53fdf917d386b4faba8753bbc5b86b40ef6d4bd9f3f862c6b3ecd4c64fc86fefb67
|
data/lib/codeguessing/console.rb
CHANGED
@@ -2,10 +2,10 @@ module Codeguessing
|
|
2
2
|
class Console
|
3
3
|
attr_reader :game, :scores
|
4
4
|
|
5
|
-
MESSAGE = YAML.load_file(File.
|
5
|
+
MESSAGE = YAML.load_file(File.expand_path('data/messages.yml'))
|
6
6
|
|
7
7
|
def initialize
|
8
|
-
@path = File.
|
8
|
+
@path = File.expand_path('data/scores.yml')
|
9
9
|
@scores = load(@path)
|
10
10
|
@game = Game.new
|
11
11
|
end
|
data/lib/codeguessing/version.rb
CHANGED