swttt-gem 0.8.0 → 0.9.0
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/lib/board.rb +2 -2
- data/swttt-gem.gemspec +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.9.0
|
data/lib/board.rb
CHANGED
@@ -44,7 +44,7 @@ class Board
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def print
|
47
|
-
(0
|
47
|
+
(0...@dimension).each { |row| print_row(row) }
|
48
48
|
puts "\n"
|
49
49
|
end
|
50
50
|
|
@@ -52,7 +52,7 @@ private
|
|
52
52
|
|
53
53
|
def print_row(row)
|
54
54
|
puts "\n"
|
55
|
-
(0
|
55
|
+
(0...@dimension).each { |column| print_square(row, column) }
|
56
56
|
end
|
57
57
|
|
58
58
|
def print_square(row, column)
|
data/swttt-gem.gemspec
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: swttt-gem
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
8
|
+
- 9
|
9
9
|
- 0
|
10
|
-
version: 0.
|
10
|
+
version: 0.9.0
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Stephen Walker
|