Class: Xberg::HierarchicalBlock

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeHierarchicalBlock

Returns a new instance of HierarchicalBlock.

Parameters:

  • text: (String)
  • font_size: (Float)
  • level: (String)


1606
# File 'sig/types.rbs', line 1606

def initialize: (text: String, font_size: Float, level: String) -> void

Instance Attribute Details

#font_sizeFloat (readonly)

Returns the value of attribute font_size.

Returns:

  • (Float)


1603
1604
1605
# File 'sig/types.rbs', line 1603

def font_size
  @font_size
end

#levelString (readonly)

Returns the value of attribute level.

Returns:

  • (String)


1604
1605
1606
# File 'sig/types.rbs', line 1604

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1602
1603
1604
# File 'sig/types.rbs', line 1602

def text
  @text
end