rgviz 0.48 → 0.49
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rgviz/table.rb +6 -2
- metadata +2 -2
data/lib/rgviz/table.rb
CHANGED
@@ -35,8 +35,12 @@ module Rgviz
|
|
35
35
|
attr_accessor :c
|
36
36
|
|
37
37
|
def initialize(attributes = {})
|
38
|
-
attributes.
|
39
|
-
|
38
|
+
if attributes.empty?
|
39
|
+
@c = []
|
40
|
+
else
|
41
|
+
attributes.each do |key, value|
|
42
|
+
self.send "#{key}=", value
|
43
|
+
end
|
40
44
|
end
|
41
45
|
end
|
42
46
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgviz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: '0.
|
4
|
+
version: '0.49'
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2010-06-08 00:00:00.
|
12
|
+
date: 2010-06-08 00:00:00.000000000Z
|
13
13
|
dependencies: []
|
14
14
|
description: Google Visualization API Query Language written in Ruby.
|
15
15
|
email: aborenszweig@manas.com.ar
|