Class: PhlexIcons::Bootstrap::Hammer

Inherits:
Base show all
Defined in:
lib/phlex-icons/bootstrap/hammer.rb

Instance Attribute Summary

Attributes inherited from PhlexIcons::Base

#attrs

Instance Method Summary collapse

Methods inherited from Base

#initialize

Methods inherited from PhlexIcons::Base

#initialize

Constructor Details

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

Instance Method Details

#view_templateObject



7
8
9
10
11
12
13
14
15
16
17
18
19
# File 'lib/phlex-icons/bootstrap/hammer.rb', line 7

def view_template
  svg(
    **attrs,
    xmlns: 'http://www.w3.org/2000/svg',
    fill: 'currentColor',
    viewbox: '0 0 16 16'
  ) do |s|
    s.path(
      d:
        'M9.972 2.508a.5.5 0 0 0-.16-.556l-.178-.129a5 5 0 0 0-2.076-.783C6.215.862 4.504 1.229 2.84 3.133H1.786a.5.5 0 0 0-.354.147L.146 4.567a.5.5 0 0 0 0 .706l2.571 2.579a.5.5 0 0 0 .708 0l1.286-1.29a.5.5 0 0 0 .146-.353V5.57l8.387 8.873A.5.5 0 0 0 14 14.5l1.5-1.5a.5.5 0 0 0 .017-.689l-9.129-8.63c.747-.456 1.772-.839 3.112-.839a.5.5 0 0 0 .472-.334'
    )
  end
end