rgviz 0.23 → 0.24
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rgviz/html_renderer.rb +5 -2
- metadata +3 -3
data/lib/rgviz/html_renderer.rb
CHANGED
@@ -1,7 +1,8 @@
|
|
1
1
|
module Rgviz
|
2
2
|
module HtmlRenderer
|
3
3
|
def self.render(table)
|
4
|
-
@string =
|
4
|
+
@string = "<html>\n"
|
5
|
+
@string += "<body>\n"
|
5
6
|
@string += "<table border=\"1\" cellpadding=\"2\" cellspacing=\"0\">\n"
|
6
7
|
|
7
8
|
@string += "<tr style=\"font-weight: bold; background-color: #aaa;\">\n"
|
@@ -19,7 +20,9 @@ module Rgviz
|
|
19
20
|
@string += "<tr>\n"
|
20
21
|
end
|
21
22
|
|
22
|
-
@string += "</table>\n"
|
23
|
+
@string += "</table>\n"
|
24
|
+
@string += "</body>\n"
|
25
|
+
@string += "</html>\n"
|
23
26
|
@string
|
24
27
|
end
|
25
28
|
end
|
metadata
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rgviz
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 59
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
|
-
-
|
9
|
-
version: "0.
|
8
|
+
- 24
|
9
|
+
version: "0.24"
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Ary Borenszweig
|