Class: Primer::Alpha::StackItem::GrowArg
- Inherits:
-
ResponsiveArg
- Object
- ResponsiveArg
- Primer::Alpha::StackItem::GrowArg
- Defined in:
- app/components/primer/alpha/stack_item.rb
Overview
StackItem’s grow argument. Used internally.
Constant Summary collapse
- DEFAULT =
false
- OPTIONS =
[ nil, DEFAULT, true ].freeze
Constants inherited from ResponsiveArg
Constants included from FetchOrFallbackHelper
FetchOrFallbackHelper::InvalidValueError
Instance Attribute Summary collapse
-
#values ⇒ Object
readonly
Returns the value of attribute values.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(values) ⇒ GrowArg
constructor
A new instance of GrowArg.
Methods inherited from ResponsiveArg
Methods included from FetchOrFallbackHelper
#fetch_or_fallback, #fetch_or_fallback_boolean, #silence_deprecations?
Constructor Details
Instance Attribute Details
#values ⇒ Object (readonly)
Returns the value of attribute values.
11 12 13 |
# File 'app/components/primer/alpha/stack_item.rb', line 11 def values @values end |
Class Method Details
.arg_name ⇒ Object
23 24 25 |
# File 'app/components/primer/alpha/stack_item.rb', line 23 def self.arg_name :grow end |