Module: NfgUi::Components::Utilities::Titleable
- Included in:
- Bootstrap::Components::CardImageOverlay, Foundations::Typeface, Patterns::Modal, Patterns::PageHeader, Patterns::Tile, Patterns::TileHeader
- Defined in:
- lib/nfg_ui/components/utilities/titleable.rb
Overview
Allows NFG design system components to utilize the :title option
Instance Method Summary collapse
Instance Method Details
#title ⇒ Object
8 9 10 |
# File 'lib/nfg_ui/components/utilities/titleable.rb', line 8 def title .fetch(:title, nil) end |