Class: PhlexIcons::Huge::InspectCode

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

Instance Attribute Summary

Attributes inherited from Base

#variant

Attributes inherited from Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize, #view_template

Methods inherited from Base

#initialize, #view_template

Constructor Details

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

Instance Method Details

#strokeObject



7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# File 'lib/phlex-icons/huge/inspect_code.rb', line 7

def stroke
  svg(
    **attrs,
    viewbox: '0 0 24 24',
    fill: 'none',
    xmlns: 'http://www.w3.org/2000/svg'
  ) do |s|
    s.path(
      d: 'M17.5 17.5L22 22',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d:
        'M20 11C20 6.02944 15.9706 2 11 2C6.02944 2 2 6.02944 2 11C2 15.9706 6.02944 20 11 20C15.9706 20 20 15.9706 20 11Z',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linejoin: 'round'
    )
    s.path(
      d:
        'M14.5 9.5L15.4199 10.2929C15.8066 10.6262 16 10.7929 16 11C16 11.2071 15.8066 11.3738 15.4199 11.7071L14.5 12.5',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d:
        'M7.5 9.5L6.58009 10.2929C6.19337 10.6262 6 10.7929 6 11C6 11.2071 6.19336 11.3738 6.58009 11.7071L7.5 12.5',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
    s.path(
      d: 'M12 8.5L10 13.5',
      stroke: 'currentColor',
      stroke_width: '1.5',
      stroke_linecap: 'round',
      stroke_linejoin: 'round'
    )
  end
end