Class: Maglev::Uikit::SectionToolbar::TopLeftCornerComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Maglev::Uikit::SectionToolbar::TopLeftCornerComponent
- Defined in:
- app/components/maglev/uikit/section_toolbar/top_left_corner_component.rb
Instance Attribute Summary collapse
-
#label ⇒ Object
readonly
Returns the value of attribute label.
Instance Method Summary collapse
-
#initialize(label:) ⇒ TopLeftCornerComponent
constructor
A new instance of TopLeftCornerComponent.
Methods inherited from BaseComponent
Constructor Details
#initialize(label:) ⇒ TopLeftCornerComponent
Returns a new instance of TopLeftCornerComponent.
9 10 11 |
# File 'app/components/maglev/uikit/section_toolbar/top_left_corner_component.rb', line 9 def initialize(label:) @label = label end |
Instance Attribute Details
#label ⇒ Object (readonly)
Returns the value of attribute label.
7 8 9 |
# File 'app/components/maglev/uikit/section_toolbar/top_left_corner_component.rb', line 7 def label @label end |