Class: PhlexIcons::Bootstrap::Bookmark
- Inherits:
-
Base
- Object
- Phlex::SVG
- PhlexIcons::Base
- Base
- PhlexIcons::Bootstrap::Bookmark
- Defined in:
- lib/phlex-icons/bootstrap/bookmark.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/bookmark.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: 'M2 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v13.5a.5.5 0 0 1-.777.416L8 13.101l-5.223 2.815A.5.5 0 0 1 2 15.5zm2-1a1 1 0 0 0-1 1v12.566l4.723-2.482a.5.5 0 0 1 .554 0L13 14.566V2a1 1 0 0 0-1-1z' ) end end |