Class: Funicular::StyleBuilder
- Inherits:
-
Object
- Object
- Funicular::StyleBuilder
- Defined in:
- sig/styles.rbs
Overview
StyleBuilder is used to define styles within the styles {} block
Instance Method Summary collapse
- #define ⇒ void
-
#initialize ⇒ StyleBuilder
constructor
A new instance of StyleBuilder.
- #to_definitions ⇒ Hash[Symbol, Hash[Symbol, untyped]]
Constructor Details
#initialize ⇒ StyleBuilder
Returns a new instance of StyleBuilder.
20 |
# File 'sig/styles.rbs', line 20
def initialize: () -> void
|
Instance Method Details
#define ⇒ void
This method returns an undefined value.
21 |
# File 'sig/styles.rbs', line 21
def define: (Symbol name, ?(String | Hash[Symbol, untyped]) value, **untyped options) -> void
|
#to_definitions ⇒ Hash[Symbol, Hash[Symbol, untyped]]
22 |
# File 'sig/styles.rbs', line 22
def to_definitions: () -> Hash[Symbol, Hash[Symbol, untyped]]
|