cellar 0.1.2 → 0.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/cellar.rb +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f45811a66c7c570a6b09c891dc7e4ebde205485312fd40444d6060470ed6249f
|
4
|
+
data.tar.gz: 3f752cc5cb1ea78184616eb30bf1fd141a9d2f362fcd6bd971948faf43af3288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 23939a9a8e1e7cf5be52c494389b9372e0ea1e9a7602a0e9ebc17a9980162cc0f2d739e7712235ab0b5bc6572f021a38004ffe2c157e5c53e0bac09ba2b586ce
|
7
|
+
data.tar.gz: da5f109fa8b7558602d7fdc4d58355aef5c926881f5532e529f01345475fdb56badf3b2943b97da973f0f707928c9512b0a1ea031ab9a72e66de9dbe1d2b819d
|
data/lib/cellar.rb
CHANGED
@@ -24,7 +24,7 @@ class Object
|
|
24
24
|
end
|
25
25
|
|
26
26
|
class Cellar
|
27
|
-
VERSION="0.1.
|
27
|
+
VERSION="0.1.3"
|
28
28
|
|
29
29
|
attr_reader :fields
|
30
30
|
attr_reader :values
|
@@ -175,12 +175,12 @@ class Cellar
|
|
175
175
|
row(row) # returns self
|
176
176
|
end
|
177
177
|
|
178
|
-
def
|
179
|
-
@rows
|
178
|
+
def cells
|
179
|
+
[@fields.dup] + @rows
|
180
180
|
end
|
181
181
|
|
182
|
-
def rows
|
183
|
-
|
182
|
+
def rows
|
183
|
+
@rows
|
184
184
|
end
|
185
185
|
|
186
186
|
def row(row=nil)
|