Class: Maglev::Uikit::PageLayoutComponent::BackLinkComponent

Inherits:
BaseComponent
  • Object
show all
Defined in:
app/components/maglev/uikit/page_layout_component.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from BaseComponent

#button_class_names

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

#pathObject (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