Class: Uchi::Ui::SectionHeader
- Inherits:
-
ViewComponent::Base
- Object
- ViewComponent::Base
- Uchi::Ui::SectionHeader
- Defined in:
- app/components/uchi/ui/section_header.rb
Instance Attribute Summary collapse
-
#title ⇒ Object
readonly
Returns the value of attribute title.
Instance Method Summary collapse
-
#initialize(title:) ⇒ SectionHeader
constructor
A new instance of SectionHeader.
Constructor Details
#initialize(title:) ⇒ SectionHeader
Returns a new instance of SectionHeader.
10 11 12 13 |
# File 'app/components/uchi/ui/section_header.rb', line 10 def initialize(title:) super() @title = title end |
Instance Attribute Details
#title ⇒ Object (readonly)
Returns the value of attribute title.
6 7 8 |
# File 'app/components/uchi/ui/section_header.rb', line 6 def title @title end |