lib/phlex/icons/flag/az.rb in phlex-icons-0.17.0 vs lib/phlex/icons/flag/az.rb in phlex-icons-1.0.0
- old
+ new
@@ -5,11 +5,11 @@
module Icons
module Flag
class Az < Base
def square
svg(
- class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
+ **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.path(fill: '#3f9c35', d: 'M0 0h512v512H0z')
s.path(fill: '#ed2939', d: 'M0 0h512v341.3H0z')
s.path(fill: '#00b9e4', d: 'M0 0h512v170.7H0z')
s.circle(cx: '238.8', cy: '256', r: '76.8', fill: '#fff')
@@ -22,10 +22,10 @@
end
end
def rectangle
svg(
- class: classes, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
+ **attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.path(fill: '#3f9c35', d: 'M.1 0h640v480H.1z')
s.path(fill: '#ed2939', d: 'M.1 0h640v320H.1z')
s.path(fill: '#00b9e4', d: 'M.1 0h640v160H.1z')
s.circle(cx: '304', cy: '240', r: '72', fill: '#fff')