Class: Primer::BorderBoxComponent::Row
- Defined in:
- app/components/primer/border_box_component.rb
Overview
:nodoc:
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) ⇒ Row
constructor
A new instance of Row.
Methods included from JoinStyleArgumentsHelper
Methods included from FetchOrFallbackHelper
#fetch_or_fallback, #fetch_or_fallback_boolean
Methods included from ClassNameHelper
Constructor Details
#initialize(**system_arguments) ⇒ Row
Returns a new instance of Row.
95 96 97 98 99 100 101 102 |
# File 'app/components/primer/border_box_component.rb', line 95 def initialize(**system_arguments) @system_arguments = system_arguments @system_arguments[:tag] = :li @system_arguments[:classes] = class_names( "Box-row", system_arguments[:classes] ) end |
Instance Attribute Details
#system_arguments ⇒ Object (readonly)
Returns the value of attribute system_arguments.
93 94 95 |
# File 'app/components/primer/border_box_component.rb', line 93 def system_arguments @system_arguments end |