Class: PhlexIcons::Lucide::Swords

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/lucide/swords.rb

Instance Attribute Summary

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from PhlexIcons::Lucide::Base

Instance Method Details

#view_templateObject



6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# File 'lib/phlex-icons/lucide/swords.rb', line 6

def view_template
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    viewbox: '0 0 24 24',
    fill: 'none',
    stroke: 'currentColor',
    stroke_width: '2',
    stroke_linecap: 'round',
    stroke_linejoin: 'round'
  ) do |s|
    s.polyline(points: '14.5 17.5 3 6 3 3 6 3 17.5 14.5')
    s.line(x1: '13', x2: '19', y1: '19', y2: '13')
    s.line(x1: '16', x2: '20', y1: '16', y2: '20')
    s.line(x1: '19', x2: '21', y1: '21', y2: '19')
    s.polyline(points: '14.5 6.5 18 3 21 3 21 6 17.5 9.5')
    s.line(x1: '5', x2: '9', y1: '14', y2: '18')
    s.line(x1: '7', x2: '4', y1: '17', y2: '20')
    s.line(x1: '3', x2: '5', y1: '19', y2: '21')
  end
end