Class: Spark::Header
- Inherits:
-
Block
- Object
- ActionView::Component::Base
- Component::Base
- Block
- Spark::Header
- Defined in:
- app/components/spark/header.rb
Constant Summary
Constants inherited from Block
Block::GUTTER, Block::LAYOUT, Block::SPACER_SIZE
Instance Method Summary collapse
-
#initialize ⇒ Header
constructor
A new instance of Header.
Methods inherited from Block
Methods inherited from Component::Base
Constructor Details
#initialize ⇒ Header
Returns a new instance of Header.
6 7 8 9 |
# File 'app/components/spark/header.rb', line 6 def initialize(*) super classname.add "spark-header" end |