Class: Funicular::StyleValue
- Inherits:
-
Object
- Object
- Funicular::StyleValue
- Defined in:
- sig/styles.rbs
Overview
StyleValue represents a CSS class string that can be combined with other styles
Instance Attribute Summary collapse
-
#value ⇒ String
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize ⇒ StyleValue
constructor
A new instance of StyleValue.
- #to_s ⇒ String
- #| ⇒ StyleValue
Constructor Details
#initialize ⇒ StyleValue
Returns a new instance of StyleValue.
5 |
# File 'sig/styles.rbs', line 5
def initialize: (String | untyped value) -> void
|
Instance Attribute Details
#value ⇒ String (readonly)
Returns the value of attribute value.
4 5 6 |
# File 'sig/styles.rbs', line 4 def value @value end |
Instance Method Details
#to_s ⇒ String
7 |
# File 'sig/styles.rbs', line 7
def to_s: () -> String
|
#| ⇒ StyleValue
6 |
# File 'sig/styles.rbs', line 6
def |: (StyleValue | String | nil other) -> StyleValue
|