tclog 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/tclog.rb +2 -2
- data/tclog.gemspec +1 -1
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.2
|
data/lib/tclog.rb
CHANGED
@@ -33,7 +33,7 @@ module TCLog
|
|
33
33
|
#
|
34
34
|
# Add Player with name.
|
35
35
|
def []=(a,b)
|
36
|
-
@ary << a
|
36
|
+
@ary << a unless @ary.include?(a)
|
37
37
|
super a,b
|
38
38
|
end
|
39
39
|
|
@@ -42,7 +42,7 @@ module TCLog
|
|
42
42
|
#
|
43
43
|
# Add Player.
|
44
44
|
def <<(player)
|
45
|
-
@ary << player.name
|
45
|
+
@ary << player.name unless @ary.include?(player.name)
|
46
46
|
self[player.name] = player
|
47
47
|
self
|
48
48
|
end
|
data/tclog.gemspec
CHANGED