Class: Maglev::Uikit::PageLayoutComponent::BackLinkComponent
- Inherits:
-
BaseComponent
- Object
- ViewComponent::Base
- BaseComponent
- Maglev::Uikit::PageLayoutComponent::BackLinkComponent
- Defined in:
- app/components/maglev/uikit/page_layout_component.rb
Instance Attribute Summary collapse
-
#path ⇒ Object
readonly
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(path:) ⇒ BackLinkComponent
constructor
A new instance of BackLinkComponent.
Methods inherited from BaseComponent
Constructor Details
#initialize(path:) ⇒ BackLinkComponent
Returns a new instance of BackLinkComponent.
36 37 38 |
# File 'app/components/maglev/uikit/page_layout_component.rb', line 36 def initialize(path:) @path = path end |
Instance Attribute Details
#path ⇒ Object (readonly)
Returns the value of attribute path.
34 35 36 |
# File 'app/components/maglev/uikit/page_layout_component.rb', line 34 def path @path end |