Class: PhlexIcons::Flag::Mu
- Inherits:
-
Base
- Object
- Phlex::SVG
- Base
- PhlexIcons::Flag::Mu
show all
- Defined in:
- lib/phlex-icons/flag/mu.rb
Instance Attribute Summary
Attributes inherited from Base
#attrs
Instance Method Summary
collapse
Methods inherited from Base
#initialize, #view_template
Instance Method Details
#rectangle ⇒ Object
19
20
21
22
23
24
25
26
27
28
29
30
|
# File 'lib/phlex-icons/flag/mu.rb', line 19
def rectangle
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 640 480'
) do |s|
s.g(fill_rule: 'evenodd') do
s.path(fill: '#00a04d', d: 'M0 360h640v120H0z')
s.path(fill: '#151f6d', d: 'M0 120h640v120H0z')
s.path(fill: '#ee2737', d: 'M0 0h640v120H0z')
s.path(fill: '#ffcd00', d: 'M0 240h640v120H0z')
end
end
end
|
#square ⇒ Object
6
7
8
9
10
11
12
13
14
15
16
17
|
# File 'lib/phlex-icons/flag/mu.rb', line 6
def square
svg(
**attrs, xmlns: 'http://www.w3.org/2000/svg', viewbox: '0 0 512 512'
) do |s|
s.g(fill_rule: 'evenodd') do
s.path(fill: '#009f4d', d: 'M0 384h512v128H0z')
s.path(fill: '#151f6d', d: 'M0 128h512v128H0z')
s.path(fill: '#ee2737', d: 'M0 0h512v128H0z')
s.path(fill: '#ffcd00', d: 'M0 256h512v128H0z')
end
end
end
|