lib/phlex/icons/flag/hu.rb in phlex-icons-flag-0.17.0 vs lib/phlex/icons/flag/hu.rb in phlex-icons-flag-1.0.0
- old
+ new
@@ -4,11 +4,11 @@
module Icons
module Flag
class Hu < 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.g(fill_rule: 'evenodd') do
s.path(fill: '#fff', d: 'M512 512H0V0h512z')
s.path(fill: '#388d00', d: 'M512 512H0V341.3h512z')
s.path(fill: '#d43516', d: 'M512 170.8H0V.1h512z')
@@ -16,10 +16,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.g(fill_rule: 'evenodd') do
s.path(fill: '#fff', d: 'M640 480H0V0h640z')
s.path(fill: '#388d00', d: 'M640 480H0V320h640z')
s.path(fill: '#d43516', d: 'M640 160.1H0V.1h640z')