Module: DesignSystem::Generic::Builders::Elements::Headings
- Included in:
- FixedElements
- Defined in:
- lib/design_system/generic/builders/elements/headings.rb
Overview
This mixin module is used to provide page headings.
Instance Method Summary collapse
Instance Method Details
#main_heading(text, caption: nil) ⇒ Object
7 8 9 10 |
# File 'lib/design_system/generic/builders/elements/headings.rb', line 7 def main_heading(text, caption: nil) @main_heading = text @caption = caption end |