tttazures 0.0.11 → 0.0.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/factory.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: 411cce381996a387bbf65d13137c14cbe7a72dfb
|
|
4
|
+
data.tar.gz: d6ace96c5c4d6d0ee1b4f967a0237724885bc464
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c322e172da20feed2c9e8d541aa9f72e1e86c8324efa78e35ff9509c8f1e99fc64de7774acb20e1d29d5be68562146959d584c3dbd89fc7ad2a54f5f87f70851
|
|
7
|
+
data.tar.gz: f6d1fefe72139d9ede9d27e518b3323d2afb1c2cca20cc27fe27ee563ec4d8548ac476b1f37520c8009c78276df1d97e5274381346e7764ecdcbb8eef01c8db9
|
data/lib/factory.rb
CHANGED
|
@@ -6,7 +6,7 @@ require_relative './three_dimensional_board'
|
|
|
6
6
|
class Factory
|
|
7
7
|
|
|
8
8
|
def get_board board_type
|
|
9
|
-
case
|
|
9
|
+
case board_type
|
|
10
10
|
when :three_by_three then TwoDimensionalBoard.new 3
|
|
11
11
|
when :four_by_four then TwoDimensionalBoard.new 4
|
|
12
12
|
when :five_by_five then TwoDimensionalBoard.new 5
|