lib/phlex/icons/flag/cc.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/cc.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Cc < Base
def square
svg(
- class: classes, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 512 512), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
+ **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 512 512), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
) do |s|
s.defs do
s.path(id: %(cc-a), d: %(m0-360 69.4 215.8 212-80.3L156-35.6 351 80.1 125 99.8l31.1 224.6L0 160l-156.2 164.3 31.1-224.5L-351 80l195-115.7-125.5-188.9 212 80.3z))
s.path(id: %(cc-b), d: %(M0-210 54.9-75.5l144.8 10.6-111 93.8 34.7 141L0 93.3-123.4 170l34.6-141-111-93.8 145-10.6z))
end
@@ -29,10 +29,10 @@
end
end
def rectangle
svg(
- class: classes, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 640 480), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
+ **attrs, xmlns: %(http://www.w3.org/2000/svg), viewbox: %(0 0 640 480), 'xmlns:xlink': %(http://www.w3.org/1999/xlink)
) do |s|
s.defs do
s.path(id: %(cc-a), d: %(m0-360 69.4 215.8 212-80.3L156-35.6 351 80.1 125 99.8l31.1 224.6L0 160l-156.2 164.3 31.1-224.5L-351 80l195-115.7-125.5-188.9 212 80.3z))
s.path(id: %(cc-b), d: %(M0-210 54.9-75.5l144.8 10.6-111 93.8 34.7 141L0 93.3-123.4 170l34.6-141-111-93.8 145-10.6z))
end