acpc_poker_types 7.1.2 → 7.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/acpc_poker_types/hand_player_group.rb +2 -0
- data/lib/acpc_poker_types/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: 2de5af0f7acb750039342b5048adcca08882bbd9
|
4
|
+
data.tar.gz: 6cfa175c0bd599c7f367196df73e682fe90ccf03
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d6c3c8f2d7f2929552f9c48f189bb5701bd61bccc7648c7aa963d27351f99f2372998d6dc8e07f997c08e7f47f35c927ffeadef0b65cb1ff9a58485b6c9dce42
|
7
|
+
data.tar.gz: 697b9c6ab18ec72a23cca3f88e1cfdaeb2e2f6bd2668bd32aae6446dbefafcd3f457079eca131f67a17307cad7e7a7e6febaf04280f6ce39e7b4e3e6bca126fa
|
@@ -68,6 +68,8 @@ class HandPlayerGroup < DelegateClass(Array)
|
|
68
68
|
# @return [Integer] The number of wagers this round
|
69
69
|
def num_wagers(round)
|
70
70
|
inject(0) do |sum, pl|
|
71
|
+
next sum if round >= pl.actions.length
|
72
|
+
|
71
73
|
sum += pl.actions[round].count do |ac|
|
72
74
|
PokerAction::MODIFIABLE_ACTIONS.include?(ac.action)
|
73
75
|
end
|