svgle 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
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/svgle.rb +7 -2
- metadata +1 -1
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f7ddc0bb3476bf997bd0e04c30b86d76738d2d6
|
4
|
+
data.tar.gz: 5b31965da5698a14262fe4cbd2611530418e8d33
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 90511e09064d67305a03023050decf6e36433bba1578a05320fdfa6d285b52c7b77c206da8bb6e3aea2d86eafcca9dbf0fb852a26f988bf98a6afbde58b4b887
|
7
|
+
data.tar.gz: 3b7063f7035d1b02107f42687f9c0dd155dd4849ceb61c16b334b111d83bf6d07027368c23a57854a94ad2bce317f4d7e4b5521b2db69d1cfa210704943eb576
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/svgle.rb
CHANGED
@@ -8,6 +8,7 @@ require 'rexle'
|
|
8
8
|
#
|
9
9
|
# * https://developer.mozilla.org/en-US/docs/Web/SVG/Element
|
10
10
|
# * http://www.w3schools.com/svg/svg_reference.asp
|
11
|
+
# * http://tutorials.jenkov.com/svg/svg-transformation.html#transformation-example
|
11
12
|
|
12
13
|
|
13
14
|
class Style < Hash
|
@@ -54,7 +55,7 @@ class Svgle < Rexle
|
|
54
55
|
|
55
56
|
def self.attr2_accessor(*a)
|
56
57
|
|
57
|
-
a.concat %i(id
|
58
|
+
a.concat %i(id transform)
|
58
59
|
|
59
60
|
a.each do |attribute|
|
60
61
|
|
@@ -70,7 +71,11 @@ class Svgle < Rexle
|
|
70
71
|
|
71
72
|
end
|
72
73
|
end
|
73
|
-
end
|
74
|
+
end
|
75
|
+
|
76
|
+
def style()
|
77
|
+
attributes.style
|
78
|
+
end
|
74
79
|
end
|
75
80
|
|
76
81
|
class A < Element
|
metadata
CHANGED
metadata.gz.sig
CHANGED
Binary file
|