Class: Funicular::StyleValue

Inherits:
Object
  • Object
show all
Defined in:
sig/styles.rbs

Overview

StyleValue represents a CSS class string that can be combined with other styles

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeStyleValue

Returns a new instance of StyleValue.

Parameters:

  • value (String, untyped)


5
# File 'sig/styles.rbs', line 5

def initialize: (String | untyped value) -> void

Instance Attribute Details

#valueString (readonly)

Returns the value of attribute value.

Returns:

  • (String)


4
5
6
# File 'sig/styles.rbs', line 4

def value
  @value
end

Instance Method Details

#to_sString

Returns:

  • (String)


7
# File 'sig/styles.rbs', line 7

def to_s: () -> String

#|StyleValue

Parameters:

Returns:



6
# File 'sig/styles.rbs', line 6

def |: (StyleValue | String | nil other) -> StyleValue