Class: PhlexIcons::Bootstrap::Pentagon
- Inherits:
-
Base
- Object
- Phlex::SVG
- PhlexIcons::Base
- Base
- PhlexIcons::Bootstrap::Pentagon
- Defined in:
- lib/phlex-icons/bootstrap/pentagon.rb
Instance Attribute Summary
Attributes inherited from PhlexIcons::Base
Instance Method Summary collapse
Methods inherited from Base
Methods inherited from PhlexIcons::Base
Constructor Details
This class inherits a constructor from PhlexIcons::Bootstrap::Base
Instance Method Details
#view_template ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/phlex-icons/bootstrap/pentagon.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: 'M7.685 1.545a.5.5 0 0 1 .63 0l6.263 5.088a.5.5 0 0 1 .161.539l-2.362 7.479a.5.5 0 0 1-.476.349H4.099a.5.5 0 0 1-.476-.35L1.26 7.173a.5.5 0 0 1 .161-.54l6.263-5.087Zm8.213 5.28a.5.5 0 0 0-.162-.54L8.316.257a.5.5 0 0 0-.631 0L.264 6.286a.5.5 0 0 0-.162.538l2.788 8.827a.5.5 0 0 0 .476.349h9.268a.5.5 0 0 0 .476-.35l2.788-8.826Z' ) end end |