Class: PhlexIcons::Tabler::Horse

Inherits:
Base
  • Object
show all
Defined in:
lib/phlex-icons/tabler/horse.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::Tabler::Base

Instance Method Details

#filledObject

Raises:

  • (NotImplementedError)


7
8
9
# File 'lib/phlex-icons/tabler/horse.rb', line 7

def filled
  raise NotImplementedError
end

#outlineObject



11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# File 'lib/phlex-icons/tabler/horse.rb', line 11

def outline
  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.path(
      d:
        'M7 10l-.85 8.507a1.357 1.357 0 0 0 1.35 1.493h.146a2 2 0 0 0 1.857 -1.257l.994 -2.486a2 2 0 0 1 1.857 -1.257h1.292a2 2 0 0 1 1.857 1.257l.994 2.486a2 2 0 0 0 1.857 1.257h.146a1.37 1.37 0 0 0 1.364 -1.494l-.864 -9.506h-8c0 -3 -3 -5 -6 -5l-3 6l2 2l3 -2z'
    )
    s.path(d: 'M22 14v-2a3 3 0 0 0 -3 -3')
  end
end