Class: PhlexIcons::Bootstrap::CodeSquare
- Inherits:
-
Base
- Object
- Phlex::SVG
- PhlexIcons::Base
- Base
- PhlexIcons::Bootstrap::CodeSquare
- Defined in:
- lib/phlex-icons/bootstrap/code_square.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 21 22 23 |
# File 'lib/phlex-icons/bootstrap/code_square.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: 'M14 1a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1zM2 0a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V2a2 2 0 0 0-2-2z' ) s.path( d: 'M6.854 4.646a.5.5 0 0 1 0 .708L4.207 8l2.647 2.646a.5.5 0 0 1-.708.708l-3-3a.5.5 0 0 1 0-.708l3-3a.5.5 0 0 1 .708 0m2.292 0a.5.5 0 0 0 0 .708L11.793 8l-2.647 2.646a.5.5 0 0 0 .708.708l3-3a.5.5 0 0 0 0-.708l-3-3a.5.5 0 0 0-.708 0' ) end end |