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
-
#system_arguments ⇒ Object
readonly
Returns the value of attribute system_arguments.
Instance Method Summary collapse
-
#initialize(**system_arguments) ⇒ Footer
constructor
A new instance of Footer.
Methods included from FetchOrFallbackHelper
Methods included from ClassNameHelper
Constructor Details
#initialize(**system_arguments) ⇒ Footer
Returns a new instance of Footer.
66 67 68 69 70 71 72 73 |
# File 'app/components/primer/border_box_component.rb', line 66 def initialize(**system_arguments) @system_arguments = system_arguments @system_arguments[:tag] = :div @system_arguments[:classes] = class_names( "Box-footer", system_arguments[:classes] ) end |
Instance Attribute Details
#system_arguments ⇒ Object (readonly)
Returns the value of attribute system_arguments.
64 65 66 |
# File 'app/components/primer/border_box_component.rb', line 64 def system_arguments @system_arguments end |