Class: Funicular::StyleBuilder

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

Overview

StyleBuilder is used to define styles within the styles {} block

Instance Method Summary collapse

Constructor Details

#initializeStyleBuilder

Returns a new instance of StyleBuilder.



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

def initialize: () -> void

Instance Method Details

#definevoid

This method returns an undefined value.

Parameters:

  • name (Symbol)
  • value (?(String | Hash[Symbol, untyped]))
  • options (Object)


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

def define: (Symbol name, ?(String | Hash[Symbol, untyped]) value, **untyped options) -> void

#to_definitionsHash[Symbol, Hash[Symbol, untyped]]

Returns:

  • (Hash[Symbol, Hash[Symbol, untyped]])


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

def to_definitions: () -> Hash[Symbol, Hash[Symbol, untyped]]