rgviz 0.7 → 0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rgviz/table.rb +10 -1
- metadata +3 -3
data/lib/rgviz/table.rb
CHANGED
@@ -1,7 +1,12 @@
|
|
1
1
|
module Rgviz
|
2
2
|
class Table
|
3
|
-
attr_accessor :
|
3
|
+
attr_accessor :cols
|
4
4
|
attr_accessor :rows
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
cols = []
|
8
|
+
rows = []
|
9
|
+
end
|
5
10
|
end
|
6
11
|
|
7
12
|
class Column
|
@@ -14,6 +19,10 @@ module Rgviz
|
|
14
19
|
|
15
20
|
class Row
|
16
21
|
attr_accessor :c
|
22
|
+
|
23
|
+
def initialize
|
24
|
+
c = []
|
25
|
+
end
|
17
26
|
end
|
18
27
|
|
19
28
|
class Cell
|
metadata
CHANGED