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)


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

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)


1614
1615
1616
# File 'sig/types.rbs', line 1614

def font_size
  @font_size
end

#levelString (readonly)

Returns the value of attribute level.

Returns:

  • (String)


1615
1616
1617
# File 'sig/types.rbs', line 1615

def level
  @level
end

#textString (readonly)

Returns the value of attribute text.

Returns:

  • (String)


1613
1614
1615
# File 'sig/types.rbs', line 1613

def text
  @text
end