Class: Primer::BorderBoxComponent::Footer
- Defined in:
- app/components/primer/border_box_component.rb
Constant Summary
Constants included from FetchOrFallbackHelper
FetchOrFallbackHelper::InvalidValueError
Instance Attribute Summary collapse
-
#kwargs ⇒ Object
readonly
Returns the value of attribute kwargs.
Instance Method Summary collapse
-
#initialize(**kwargs) ⇒ Footer
constructor
A new instance of Footer.
Methods included from FetchOrFallbackHelper
Methods included from ClassNameHelper
Constructor Details
#initialize(**kwargs) ⇒ Footer
66 67 68 69 70 71 72 73 |
# File 'app/components/primer/border_box_component.rb', line 66 def initialize(**kwargs) @kwargs = kwargs @kwargs[:tag] = :div @kwargs[:classes] = class_names( "Box-footer", kwargs[:classes] ) end |
Instance Attribute Details
#kwargs ⇒ Object (readonly)
Returns the value of attribute kwargs.
64 65 66 |
# File 'app/components/primer/border_box_component.rb', line 64 def kwargs @kwargs end |