Class: PhlexIcons::Bootstrap::CardImage
- Inherits:
-
Base
- Object
- Phlex::SVG
- PhlexIcons::Base
- Base
- PhlexIcons::Bootstrap::CardImage
- Defined in:
- lib/phlex-icons/bootstrap/card_image.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 20 |
# File 'lib/phlex-icons/bootstrap/card_image.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: 'M6.002 5.5a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0') s.path( d: 'M1.5 2A1.5 1.5 0 0 0 0 3.5v9A1.5 1.5 0 0 0 1.5 14h13a1.5 1.5 0 0 0 1.5-1.5v-9A1.5 1.5 0 0 0 14.5 2zm13 1a.5.5 0 0 1 .5.5v6l-3.775-1.947a.5.5 0 0 0-.577.093l-3.71 3.71-2.66-1.772a.5.5 0 0 0-.63.062L1.002 12v.54L1 12.5v-9a.5.5 0 0 1 .5-.5z' ) end end |